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: [email protected] >To: [email protected]; [email protected] >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.
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

