├── index.js └── index.html /index.js: -------------------------------------------------------------------------------- 1 | const fn = () => { 2 | const miString = "soy un string!" 3 | let b = miString + " muy feliz" 4 | console.log(b) 5 | } 6 | 7 | fn() 8 | 9 | const clickeado = () => { 10 | let a = "chanchito feliz" 11 | 12 | console.log(a) 13 | } -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Document 8 | 9 | 10 | 11 | web de prueba 12 | 13 | 14 | --------------------------------------------------------------------------------