Some questions about Private Name Objects
khs4473 at gmail.com
Mon Aug 27 12:22:54 PDT 2012
> A last alternative is to associate private data via a WeakMap (it can be
> shimmed in ES5 with the same garbage collection properties and with good
> performances) that inherited functions all have access to. It works, but
> it's burdensome and doesn't read as well as object properties.
On the other hand, private names seem to add complexity to proxies and
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss