Set and Map additions in the latest draft

Erik Arvidsson erik.arvidsson at gmail.com
Mon Oct 29 09:35:54 PDT 2012


Set.prototype.forEach

I thought it was agreed that the function passed to
Set.prototype.forEach would be called with 3 arguments, the value, the
value again and the context object. This is so that one can use the
same function for Array.prototype.forEach, Map.prototype.forEach and
Set.prototype.forEach.


Map.prototype.size and Set.prototype.size

These should presumably be enumerable?


-- 
erik


More information about the es-discuss mailing list