I like this proposal overall. Another benefit is that your super class 
constructors can return objects and things will just work (I think?).

I'm of the opinion that new should be required. Perhaps for `class C { }`, C is 
a function as if created by the expression `function () { throw('Class must be 
instantiated with new'); }`.

In addition to the super-must-be-first restriction, we might also want a 'cant 
reference this before super' restriction since this will not mean anything 
useful until after you super.
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to