On Mon, Oct 29, 2012 at 9:35 AM, Erik Arvidsson <[email protected]>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.
>
>
> Map.prototype.size and Set.prototype.size
>
> These should presumably be enumerable?
>

Hmmm. Another interesting factor in deciding between method and accessor
properties. FWIW, array.length is not enumerable.




>
>
> --
> erik
> _______________________________________________
> es-discuss mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/es-discuss
>



-- 
    Cheers,
    --MarkM
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to