Are Private name and Weak Map the same feature? and the Assoc API

Tom Van Cutsem at
Mon Dec 19 09:38:18 PST 2011

2011/12/19 Herby Vojčík <herby at>
> I'd say this is not specialty of get trap. If you don’t know the private
> name itself (and the scenario where you don’t know it but you want to
> forward it is the interesting scenario), you cannot use any API since you
> simply don’t have the name which you could pass. If nothing more, this is
> true for set handler as well (and delete, too, ..., any one that has to
> deal with private name).
> Isn’t it?

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

More information about the es-discuss mailing list