Understanding Arrow Functions in JavaScript
A dive into what arrow functions are, how they are different from regular functions, as well as the lexical scope and their shorthands.
ES2015 (or ES6) has added arrow function expressions to JavaScript. These functions have shorter syntax than their predecessor (this being the function expressions)…