WeakMap API questions?
bradley.meck at gmail.com
Thu Aug 26 20:19:39 PDT 2010
I am not sure that would make it a regular map. Having the keys available
does not ensure that the keys will not be collected. I personally use the
keys on a personal implementation to check and see what callbacks may be
outstanding, and if I need to reference all the Objects of a given type at
On Thu, Aug 26, 2010 at 8:14 PM, Waldemar Horwat <waldemar at google.com>wrote:
> Erik Arvidsson wrote:
>> 3. Why isn't there a way to iterate over the keys?
> Because then it would be a regular map, not a weak map. This is something
> that only a debugger should be able to do.
> es-discuss mailing list
> es-discuss at mozilla.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss