3 ms·
Totally hear what you're saying and I think JS would be better off without `this` in the first place. Clojure's threading macros are another great solution to t
by codecurve 10y ago
Totally hear what you're saying and I think JS would be better off without `this` in the first place. Clojure's threading macros are another great solution to the chaining problem.
That said, `this` is here to stay and to me, function bind feels like a pretty great way to write code that feels natural, without the danger of extending the prototypes for Array and Object.