Array.prototype.contains

Allen Wirfs-Brock allen at wirfs-brock.com
Sat Nov 3 17:30:59 PDT 2012


On Nov 3, 2012, at 4:53 PM, Mark S. Miller wrote:

> On Fri, Nov 2, 2012 at 5:26 PM, Allen Wirfs-Brock <allen at wirfs-brock.com> wrote:
> 
> Also any reason contains should be provided for WeakMap? I not seeing why it shouldn't be there too.
> 
> Yes!
> 
> The set of values actually contained by the WeakMap at any moment is non-deterministic, depending on the scheduling of gc. But this non-determinism is non-observable. WeakMap.contains would make it observable.


yup



>  
> 
> -- 
>     Cheers,
>     --MarkM

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


More information about the es-discuss mailing list