Security Demands Simplicity (was: Private Slots)

Brendan Eich brendan at mozilla.com
Sun Jan 20 16:53:50 PST 2013


Allen Wirfs-Brock wrote:
>> Perhaps you're in favor of that in addition? But if so, how would one proxy such that the @@DateValue symbol was the name parameter to get and set traps?
>
> I'm not sure if you are getting at something other than what I've described above.  If a @@DateValue private symbol is actually used as the implementation of [[DateValue]] then actuality that would happen.
>
> Were you thinking about something different?

See Brandon's followups. Proxies can tell if an object is fielding 
direct vs. delegated accesses.

/be


More information about the es-discuss mailing list