JavaScript Arrow Functions: How, Why, When (and WHEN NOT) to Use Them

added by JavaScript Kicks
10/4/2018 7:06:44 AM

966 Views

One of the most heralded features in modern JavaScript is the introduction of arrow functions, sometimes called 'fat arrow' functions, utilizing the new token =>. These functions two major benefits - a very clean concise syntax and more intuitive scoping and this binding. Those benefits have sometimes led to arrow functions being strictly preferred over other forms of function declaration.


0 comments