uxebu.com
The ES6 arrow function - a usage story - uxebu
One of the most famous features of ECMAScript6 is the arrow function. The arrow function is a shortcut for `function() {}` which can now be written like so `() => {}`. And it embeds a second feature: lexical `this` binding. I have struggled with it and enjoyed it. Read about why it sucked and where …