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

7 lines
178 B
Plaintext
Raw Normal View History

error: 'import', and 'export' cannot be used outside of module code
--> $DIR/tests/test262-parser/fail/4554c00dbb28cad8.js:1:1
|
1 | export default function () {}
| ^^^^^^