This request is the very definition of little things that go a long way. I write a hell of a lot of code that boils down to Function.prototype.bind(Function.prototype.call/apply, Somebuiltin.prototype.method). The fact that there's builtin way to accomplish `string.split("\n").map(String.split)` (split just as an example) is annoying in how obvious it is that it should work, and how often I need them. In fact I think there's some modification to Spidermonkey that has this? Array.* and String.* being functional versions of the prototype methods.
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss