'this' and arrow functions

added by JavaScript Kicks
8/27/2018 8:05:16 AM

864 Views

Arrow functions were introduced in ES6 as a new syntax for writing Javascript functions. Thanks to their short syntax, they encourage the use of small functions, which make code look cleaner (and () => just looks cooler 😄). As a beginner just getting to wrap my head around ES6 syntax, I began using arrow functions everywhere without really understanding how they worked.


0 comments