* Check that super.* is after super() at runtime * "missing super() call in constructor" runtime * "'this' is not allowed before super()" runtime
6 lines
80 B
JavaScript
6 lines
80 B
JavaScript
class Foo extends Bar {
|
|
constructor() {
|
|
if (eval("false")) super();
|
|
}
|
|
}
|