Lines Matching refs:constructor
16 PASS x = class extends Base { constructor() { super(); } super() {} } did not throw exception.
17 PASS x = class extends Base { constructor() { super(); } method() { super() } } threw exception Syn…
18 PASS x = class extends Base { constructor() { super(); } method() { super } } threw exception Synta…
19 PASS x = class extends Base { constructor() { super(); } method() { return new super } } threw exce…
20 PASS x = class extends Base { constructor() { super(); } method1() { delete (super.foo) } method2()…
23 PASS new (class { constructor() { return undefined; } }) instanceof Object is true
24 PASS new (class { constructor() { return 1; } }) instanceof Object is true
25 PASS new (class extends Base { constructor() { return undefined } }) threw exception ReferenceError…
26 PASS new (class extends Base { constructor() { super(); return undefined } }) instanceof Object is …
27 PASS x = { }; new (class extends Base { constructor() { return x } }); is x
29 PASS new (class extends Base { constructor() { } }) threw exception ReferenceError: this is not def…
30 PASS new (class extends Base { constructor() { return 1; } }) threw exception TypeError: Derived co…
31 PASS new (class extends null { constructor() { return undefined } }) threw exception ReferenceError…
32 …new (class extends null { constructor() { super(); return undefined } }) threw exception TypeError…
33 PASS x = { }; new (class extends null { constructor() { return x } }); is x
35 PASS new (class extends null { constructor() { } }) threw exception ReferenceError: this is not def…
36 PASS new (class extends null { constructor() { return 1; } }) threw exception TypeError: Derived co…
37 PASS new (class extends null { constructor() { super() } }) threw exception TypeError: super is not…
38 PASS new (class { constructor() { super() } }) threw exception SyntaxError: 'super' keyword unexpec…
40 PASS new (class extends Object { constructor() { function x() { super() } } }) threw exception Synt…
41 PASS new (class extends Object { constructor() { function x() { super.method } } }) threw exception…