W3C home > Mailing lists > Public > public-script-coord@w3.org > July to September 2014

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

From: <bugzilla@jessica.w3.org>
Date: Wed, 17 Sep 2014 15:41:43 +0000
To: public-script-coord@w3.org
Message-ID: <bug-26183-3890-XFKNbPXdKb@http.www.w3.org/Bugs/Public/>

--- 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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:22 UTC