WeakMap API questions?

Mike Shaver mike.shaver at gmail.com
Thu Sep 2 12:01:46 PDT 2010

On Thu, Sep 2, 2010 at 11:32 AM, Erik Corry <erik.corry at gmail.com> wrote:
> Surely that is the case with WeakMap?  At least unless you lost the
> key and don't have any other references to the value.  In which case
> you can't reach the value any more, so why would you care whether it
> is kept alive?

You're right; I forgot about the fact that the keys were not
necessarily value types.  Sorry for the noise.


More information about the es-discuss mailing list