Suggestions for Set

Domenic Denicola domenic at
Tue Oct 2 14:51:02 PDT 2012

From: Rick Waldron [mailto:waldron.rick at] 
Sent: Tuesday, October 2, 2012 17:18

> On Tue, Oct 2, 2012 at 5:11 PM, Domenic Denicola <domenic at> wrote:
> > From: Rick Waldron [waldron.rick at]
> > Sent: Tuesday, October 02, 2012 16:52

> > > No iteration for spread, per July 24 resolution
> > Oh, thanks for catching me on that. Silly Firefox...

> > This seems like an unfortunate decision, and I couldn't discern the motivation in the minutes. When would I want to use a syntax that fails for iterables? Does [...x] throw for an iterable, or result in something else?

> The direct reasoning for the resolution was:

> "Cannot be both iterable and array-like"

I can't really understand what this is trying to say. It must be because I don't understand "iterable". Doesn't it just mean "responds to for-of"? I would imagine arrays, NodeLists, arguments, and other array-likes all respond to for-of; if they don't, that seriously decreases the utility of for-of!

> It's possible that this could be added to the agenda for november, if Brendan wants to discuss SpiderMonkey's experience implementing it. It seems to me that if they're not having issues then it's at least worth a mention.


More information about the es-discuss mailing list