Ducks, Rabbits, and Privacy

Russell Leggett russell.leggett at gmail.com
Wed Jan 23 11:15:04 PST 2013


>
> Perhaps I should have included a link:
>
> http://code.google.com/p/google-caja/source/browse/trunk/src/com/google/caja/plugin/domado.js?spec=svn5223&r=5223#359
>
> The idea is that 'Confidence' introduces a 'class with private fields' as
> if in Java: each object which has a private state record is considered to
> be an instance. The private record is used identically to Kevin Smith's
> examples, but my analogue of getPrivate on a new object fails hard rather
> than creating one — analogous to a ClassCastException.
>

I apologize for being lazy, but you provide an example of this being used
and not just the implementation?

-Russ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130123/6d5701ff/attachment.html>


More information about the es-discuss mailing list