A different semantics for WeakMap#get default value
Mark S. Miller
erights at google.com
Thu Jan 19 09:27:53 PST 2012
I will try to write a complete proposal and settle it at the March meeting.
I'll propose today that this be on the March agenda. I'll keep it extremely
On Thu, Jan 19, 2012 at 5:36 AM, Andreas Rossberg <rossberg at google.com>wrote:
> On 19 January 2012 09:00, Andrea Giammarchi <andrea.giammarchi at gmail.com>
> > Out of curiosity, Chrome experimental flag does not support get(key,
> > defaultValue) but get(key) only ... is this something missing or Map and
> > WeakMap will never support officially the second get() argument?
> Chrome/V8 simply implements what the current proposals say:
> Of course, we are happy to adapt if the proposals get extended along
> the lines you mention.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss