ES2015 (or ES6) has added arrow function expressions to JavaScript. These functions have shorter syntax than their predecessor (this being the function expressions) and they are roughly the…