W3C home > Mailing lists > Public > public-script-coord@w3.org > October to December 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: Fri, 03 Oct 2014 04:31:07 +0000
To: public-script-coord@w3.org
Message-ID: <bug-26183-3890-E1y7a6Cgpv@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=26183

--- Comment #28 from Tab Atkins Jr. <jackalmage@gmail.com> ---
(In reply to Cameron McCormack from comment #27)
> Note that I didn't just set <maplikeinterface>.prototype.set to
> %MapPrototype%.set etc., because that just opens up the issues of how to
> deal with Map.prototype.set.call(<maplikeobject>) again.  

There's no issue here; the internal Map data isn't part of the prototype; it's
a product of calling the Map constructor on the object.  Since that doesn't
happen, it doesn't matter what the prototype is.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Friday, 3 October 2014 04:31:08 UTC

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