[Bug 26183] make it easier to define an iterator on an interface that iterates over a set of values


--- Comment #11 from Domenic Denicola <domenic@domenicdenicola.com> ---
> What do you feel about the prototype of such objects?

I think they should definitely not inherit from the prototypes. They are
"-like", not "is a".

> What that shows me is that we need to somewhat automate defining the actual iterator objects as well, ideally...

If we copy the [[MapData]] structure of the ES6 spec exactly, then we could
just reuse the CreateMapIterator and friends from the spec.

You are receiving this mail because:
You are on the CC list for the bug.

Received on Wednesday, 17 September 2014 15:41:48 UTC