Hello,

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?

Herby
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to