>
>
> > 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
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss