What the technical advantages of using arrow functions over normal functions apart from syntax?

By manoj , 19 September, 2022

What the technical advantages of using arrow functions over normal functions apart from syntax?

 

1. Syntax

2. Arguments binding

Arrow functions do not have an arguments binding.

3. Use of this keyword

Unlike regular functions, arrow functions do not have their own this.

 

4. Using new keyword

5. No duplicate named parameters

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.