Removal of WeakMap/WeakSet clear

Brendan Eich brendan at mozilla.org
Thu Nov 27 12:32:58 PST 2014


Allen Wirfs-Brock wrote:
>>> >>  WeakMap get/set/has/delete work similarly by accessing keys' inverted map using M as the key.
>> >  
>> >  [A] This means M must be mapped to WC, via some internal member or (side-)side-table.
>
> M is an instance of a WC, eg,  M is a WeakMap which is a kind of WC

Oh I see -- this means identity, no link [A] from M to WC, just one and 
the same object. Thanks.

/be


More information about the es-discuss mailing list