Pure win: Array.from and Array.of

Rick Waldron waldron.rick at gmail.com
Sun Jul 10 10:33:51 PDT 2011

_that_ is the compelling use-case I was looking for.


-- Sent from my Palm Pre
On Jul 10, 2011 1:23 PM, Brendan Eich <brendan at mozilla.com> wrote: 

On Jul 10, 2011, at 10:18 AM, Rick Waldron wrote:The more I think about it, I still can't come up with any really exciting use cases where Array.of would outshine anything that already exists. I say strike it from the wishlist.

Higher-order programming with Array as constructing-function bites back for the single-number-argument case. That's where Array.of helps.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20110710/8239e57e/attachment.html>

More information about the es-discuss mailing list