https://dmitripavlutin.com/differences-between-arrow-and-regular-functions/
//Ejemplos de funciones, variables de funciones y función flecha function saludo () { return 'hola' } saludo = function () { return 'hola' } saludo = () => 'hola' function suma (num) { let suma = 0 for (let i = 1; i <= num; i++) { suma += i } return suma } suma = function (num) { let suma = 0 for (let i = 1; i <= num; i++) { suma += i } return suma } suma = (num) => { let suma = 0 for (let i = 1; i <= num; i++) { suma += i } return suma }