Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

327
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!