Pure win: Array.from and Array.of
brendan at mozilla.org
Sat Jul 9 22:35:48 PDT 2011
Thanks to @rwaldron for compiling these, and dherman (@littlecalculist) for being a twitter conversationalist who speaks in JS:
From a twitter conversation sparked by an IRC conversation where I reminded jcranmer at mozilla.com that ES5 Function.prototype.bind can be used to spread arguments into a 'new' expression.
Standardizing these would save reinventing them, and the built-ins could be optimized quite a bit.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss