This article was originally written for DigitalOcean. Introduction The 2015 edition of the ECMAScript specification (ES6) added arrow…...