Proposal About Private Symbol
nbdd0121 at hotmail.com
Sat Dec 20 19:04:58 PST 2014
One link there are 4 assumptions about private symbol, while I think the existence of first one is sufficient.
>1. They would not be discoverable by Object.getOwnPropertySymbols
This is what I suggest.
>2. They would not invoke any traps on proxies.
>3. They would not tunnel through proxies to proxy targets.
>4. Getting a private-symbol-keyed property would not traverse the prototype chain of the object (perhaps arguable).
Unnecessary, as long as symbol doesn't leak to external environment, I don't think we need to impose these constraints. Without these constraints I did not see any problems there.
>From: d at domenic.me
>To: nbdd0121 at hotmail.com; es-discuss at mozilla.org
>Subject: RE: Proposal About Private Symbol
>Date: Sun, 21 Dec 2014 02:58:15 +0000
>Did you read the linked post? The problem is completely different from the one you describe. It is about interoperability with membranes.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss