Full Stack Training articles on ES2015

Arrow functions in ES6 / ES2015

Arrow functions are a new addition to the latest iteration of JavaScript (ES2015). They allow developers to write more terse functions (i.e. fewer lines of code) but there's also a major difference between a standard JavaScript function expression and an arrow function: a reference to this is not being created for every new function definition. Let's take a look at a bit more in detail and see what this means.

Tamas Piros | 7 May 2016 | ES2015, ES6, JavaScript