Is private really private?

Herby Vojčík herby at
Tue Jan 3 04:49:44 PST 2012


form what I understood in the class proposal, I can write a code like this:

(function () { return private(this).foo; }).apply(objectWithPrivateFoo);

and it will work.
Is it so? Isn’t  then the notion of "per-object private" impossible having 
dynamic language with first-class function and apply/call?


More information about the es-discuss mailing list