Fat Arrow Functions

ES6 Explained

In this episode we take a quick look at the fat arrow function notation in ES6.

This notation makes it easy to create one-liner functions that use much less code than in previous versions of javascript.

Fat arrow functions are particularly useful when dealing with callbacks. This is seen clearly in our series "Exploring Ethereum with Web3.js".