Lines Matching refs:SyntaxError
18 PASS class threw exception SyntaxError: Unexpected end of input.
19 PASS class [ threw exception SyntaxError: Unexpected token [.
20 PASS class { threw exception SyntaxError: Unexpected token {.
21 PASS class X { threw exception SyntaxError: Unexpected end of input.
22 PASS class X { ( } threw exception SyntaxError: Unexpected token (.
24 PASS class X { constructor() {} constructor() {} } threw exception SyntaxError: A class may only ha…
25 PASS class X { get constructor() {} } threw exception SyntaxError: Class constructor may not be an …
26 PASS class X { set constructor() {} } threw exception SyntaxError: Class constructor may not be an …
29 PASS class X { constructor() {} static prototype() {} } threw exception SyntaxError: Classes may no…
30 PASS class X { constructor() {} static get prototype() {} } threw exception SyntaxError: Classes ma…
31 PASS class X { constructor() {} static set prototype() {} } threw exception SyntaxError: Classes ma…
36 PASS class X { constructor() {} set foo() {} } threw exception SyntaxError: Setter must have exactl…
37 PASS class X { constructor() {} set foo(a, b) {} } threw exception SyntaxError: Setter must have ex…
39 PASS class X { constructor() {} get foo(x) {} } threw exception SyntaxError: Getter must not have a…
40 PASS class X { constructor() {} get foo({x, y}) {} } threw exception SyntaxError: Getter must not h…