>
> 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
mixin composition.

Kevin
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to