Proposal About Private Symbol

Gary Guo nbdd0121 at
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
>To: nbdd0121 at; es-discuss at
>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...
URL: <>

More information about the es-discuss mailing list