Complete Minimal Classes

Kevin Smith khs4473 at gmail.com
Sat Apr 7 19:58:20 PDT 2012


Hi Herby,

Thanks for taking a look!


> Only things that bothers me a bit (except the inconsistent new keyword) is
> the potential ambiguity - I can add method to body, but (since I presume
> prototype and static block and fully-blown object initializers (if not, I
> take it back and I do not like it)) also to prototype / static block, as I
> see fit.
>

The idea is that "prototype {}" blocks and "static {}" blocks would work
just like object extension literals, and any duplicate property names would
be dealt with in the same way.

kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120407/694b48b2/attachment.html>


More information about the es-discuss mailing list