Set and Map additions in the latest draft

Rick Waldron waldron.rick at gmail.com
Mon Oct 29 10:00:16 PDT 2012



On Monday, October 29, 2012 at 12:35 PM, Erik Arvidsson wrote:

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

Yes, I've reopened the bug for this:  https://bugs.ecmascript.org/show_bug.cgi?id=591



Rick
> 
> 
> Map.prototype.size and Set.prototype.size
> 
> These should presumably be enumerable?
> 
> 
> -- 
> erik
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
> 
> 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20121029/cfb4fa55/attachment-0001.html>


More information about the es-discuss mailing list