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

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