controlling sparseness of Array iterators (was: Array#filter without callback function)

Erik Arvidsson erik.arvidsson at gmail.com
Mon Nov 12 15:03:07 PST 2012


On Mon, Nov 12, 2012 at 5:39 PM, Allen Wirfs-Brock <allen at wirfs-brock.com>wrote:

> So the question on the floor:  is there any interest in having this
> variation of array iteration in ES6?
>

I would prefer not. Sparse arrays are really rare and for the few cases
these are used I expect the author to be willing to pay a little bit extra
instead of everyone else having to pay for these rare cases.

-- 
erik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20121112/f44b7b6d/attachment-0001.html>


More information about the es-discuss mailing list