Thoughts on WeakMaps

David Bruant david.bruant at
Tue Jun 7 07:41:23 PDT 2011

Le 06/06/2011 17:31, David Bruant a écrit :
> myWeakMap.set(key, value) doesn't return anything. It could return the
> previous value for the key (if such a thing exists). Is it intentional
> that the set function doesn't return anything?
Anyone has thoughts on this point?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list