A different semantics for WeakMap#get default value
Andrea Giammarchi
andrea.giammarchi at gmail.com
Mon Jan 16 16:41:53 PST 2012
On Tue, Jan 17, 2012 at 1:39 AM, Andrea Giammarchi <
andrea.giammarchi at gmail.com> wrote:
> the second one *def* will be returned if obj was in the WeakMap
>
sorry for the typo, I meant if obj was *not* in the WeakMap ... pretty sure
you got it
br
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120117/d3939ed6/attachment-0001.html>
More information about the es-discuss
mailing list