swc/crates/swc_ecma_parser/tests/test262-error-references/fail/ca3dd7ea0b4626dd.js.stderr

13 lines
340 B
Plaintext
Raw Normal View History

x Expected ',', got '=>'
,-[$DIR/tests/test262-parser/fail/ca3dd7ea0b4626dd.js:2:1]
2 | console.log(typeof () => {});
: ^^
`----
x An arrow function is not allowed here
,-[$DIR/tests/test262-parser/fail/ca3dd7ea0b4626dd.js:2:1]
2 | console.log(typeof () => {});
: ^^
`----