JavaScript arrow functions and context
Arrow functions have been introduced in the JavaScript ES2015 specification of the language, and provide another more concise way of defining functions. I assume they have been inspired by the CoffeeScript transpiler project. Nowadays, CoffeeScript is not widely used because new features get adopted quite fast into the core language itself, many of which have…