3 Examples of When Not to Use JavaScript Arrow Functions

ES6 Arrow Functions

Arrow functions were introduced as part of the ECMAScript 6 update in 2015 and quickly became one of the most renowned features in modern JavaScript. Utilizing the new token gives it a sublime, syntactic sugar that removed the need for the following:

  • the function keyword