Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Of Classes and Arrow Functions (a cautionary tale)

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

Share the post

Of Classes and Arrow Functions (a cautionary tale)

×

Subscribe to Javascript, Javascript… – By Angus Croll

Get updates delivered right to your inbox!

Thank you for your subscription

×