¿Funciones flecha o tradicionales?

https://www.freecodecamp.org/news/when-and-why-you-should-use-es6-arrow-functions-and-when-you-shouldnt-3d851d7f0b26/

https://dmitripavlutin.com/differences-between-arrow-and-regular-functions/

https://es.stackoverflow.com/questions/1799/cuando-usar-una-funci%C3%B3n-flechaarrow-function-en-vez-de-una-funci%C3%B3n-com%C3%BAn


//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
}