I forget the second question, regarding empty constructors.
On Jul 31, 2012, at 9:46 PM, Erik Arvidsson wrote:
> ...
> Should we special
> case this and use an empty constructor if the super class is null?
>
Yes, seem necessary. The default definition used for an empty constructor
would then be something like:
constructor(...args) {
try {super.constructor} catch (e) {return};
super(...args);
}
In the actual specification, I wouldn't use an exception but instead use the
internal GetSuperBase operation in the guard.
Allen
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss