Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

335
Vistas
Are any difference between using declaration sign (var/let/const) to define arrow function v.s. not

I am just curious if there are any difference between using var/let/const to declare arrow function or declare arrow function with out let/var/const.

For example:

hello =()=>{
        console.log('hello')
    }
hello()

let hola = () =>{
        console.log('hola')
    }
   hola()

It seems that that I doesn't use let/const/var won't produce undefined error and no difference, but I saw all the reference resources like MDN and W3school prefer to use let/var/const to declare them?

Is there any performance difference between them and will it cause error if I doesn't use let/var/const to define it?

Thanks for any responds!

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda