News for hackers. Stuff that matters.
Re:An update on strong mode by madeofpalk on Monday February 22, 2016 @09:01PM (#11155909)
Last time I checked, fat arrow functions have a performance penalty because of all the optimisations that's made around scope in regular ES5 functions can't be used.

I believe ES6 fat arrow functions are slow for a similar reasons as why regular functions are slow when you use the magic arguments variable.

Re:An update on strong mode by venning on Monday February 22, 2016 @09:28PM (#11156035)
Regarding the scope optimizations: that's an interesting point. I wonder if the different scoping of let/const also create a performance penalty versus var.
Re:An update on strong mode by madeofpalk on Tuesday February 23, 2016 @05:37AM (#11157934)
This is true as well.