Lines Matching refs:exception

18 PASS x = class threw exception SyntaxError: Unexpected end of input.
19 PASS x = class { threw exception SyntaxError: Unexpected end of input.
20 PASS x = class { ( } threw exception SyntaxError: Unexpected token (.
21 PASS x = class {} did not throw exception.
22 PASS x = class { constructor() {} constructor() {} } threw exception SyntaxError: A class may only …
23 PASS x = class { get constructor() {} } threw exception SyntaxError: Class constructor may not be a…
24 PASS x = class { set constructor() {} } threw exception SyntaxError: Class constructor may not be a…
25 …ss { constructor() {} static constructor() { return staticMethodValue; } } did not throw exception.
27 PASS x = class { constructor() {} static prototype() {} } threw exception SyntaxError: Classes may …
28 PASS x = class { constructor() {} static get prototype() {} } threw exception SyntaxError: Classes …
29 PASS x = class { constructor() {} static set prototype() {} } threw exception SyntaxError: Classes …
30 … = class { constructor() {} prototype() { return instanceMethodValue; } } did not throw exception.
32 PASS x = class { constructor() {} set foo(a) {} } did not throw exception.
33 PASS x = class { constructor() {} set foo({x, y}) {} } did not throw exception.
34 PASS x = class { constructor() {} set foo() {} } threw exception SyntaxError: Setter must have exac…
35 PASS x = class { constructor() {} set foo(a, b) {} } threw exception SyntaxError: Setter must have …
36 PASS x = class { constructor() {} get foo() {} } did not throw exception.
37 PASS x = class { constructor() {} get foo(x) {} } threw exception SyntaxError: Getter must not have…
38 PASS x = class { constructor() {} get foo({x, y}) {} } threw exception SyntaxError: Getter must not…