Behold, the new hotness! The shapely Arrow Function has driven away the irksome function keyword and (by virtue of lexical this scoping) bought joy to many a JavaScript programmer. Yet, as the following account relates, even the best tools should be used with discretion. A Hasty Refresher Traditional function expressions create a function whose this value … Continue reading Of Classes and Arrow Functions (a cautionary tale) →
This post first appeared on JavaScript, JavaScript… – By Angus Croll, please read the originial post: here