mirror of
https://github.com/swc-project/swc.git
synced 2024-12-26 23:27:56 +03:00
13 lines
360 B
Plaintext
13 lines
360 B
Plaintext
|
|
x top level await requires target to es2017 or higher and topLevelAwait:true for ecmascript
|
|
,-[$DIR/tests/test262-parser/fail/1aefe47e20eb91fa.module.js:1:1]
|
|
1 | await
|
|
: ^^^^^
|
|
`----
|
|
|
|
x `await` cannot be used as an identifier in an async context
|
|
,-[$DIR/tests/test262-parser/fail/1aefe47e20eb91fa.module.js:1:1]
|
|
1 | await
|
|
: ^^^^^
|
|
`----
|