const icons = new Map(); icons.set('edit', '' + '' + '' ); icons.set('delete', '' + '' + '' + '' ); // TODO Añadir más iconos const el = function (elementId) { return document.getElementById(elementId); }; const icon = function(iconName) { return icons.get(iconName); }; const td = function(text) { return '' + text + ''; } module.exports = { el, icon, td };