DEV Community

loading...

Discussion on: Using arrow functions might be costing you performance

sleeplessbyte profile image
Derk-Jan Karrenbeld

That is the point ;)

This article is pretty fear mongering and statistically incorrect 🤓.

  • Don't worry about using arrow function expressions
  • Don't worry about using implicit return

In the same line:

  • Don't worry about relying on Automatic Semicolon Insertion
  • Don't worry about using "class"es or (other) prototype-inheritance

The bottleneck of the code is not going to be in the syntax one uses.

Thread Thread
karataev profile image