@@new

Kevin Smith zenparsing at gmail.com
Tue Jun 17 15:17:38 PDT 2014


>
>
> >     constructor() {
> >         if (rand() > 0.5)
> >             super("A");
> >     }
> >
> > behave?
>
> SyntaxError.
>
> > We could prevent this behavior by making sure that super(); must be the
> > first statement in a constructor, [...]
>
> That is what I proposed.
>

Sorry, but I can't get with this.  The current class semantics works and I
don't see a particularly compelling reason here to muck with it.

Kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140617/f12fff63/attachment.html>


More information about the es-discuss mailing list