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

8 lines
366 B
Plaintext
Raw Normal View History

x Unexpected token `const`. Expected this, import, async, function, [ for array literal, { for object literal, @ for decorator, function, class, null, true, false, number, bigint, string, regexp,
| ` for template literal, (, or an identifier
2022-03-20 09:25:35 +03:00
,-[$DIR/tests/test262-parser/fail/dc4aa6a1fb2c6317.js:1:1]
1 | for (;;) const x = 10;
: ^^^^^
`----