Re:ECMAScript 6
by jschrf on Monday February 23, 2015 @02:30AM
(#9093095)
Agree. It makes writing functional code (and functional-style code) much better looking.
Careful though: Libraries like jQuery and D3 can and/or do rebind `this` and that can be a gotcha in both TypeScript and straight ES6. You can end up having to mix both declaration styles, which is gross.
Careful though: Libraries like jQuery and D3 can and/or do rebind `this` and that can be a gotcha in both TypeScript and straight ES6. You can end up having to mix both declaration styles, which is gross.