swc/crates/swc_ecma_parser/tests/tsc/await_unaryExpression_es6.ts

17 lines
209 B
TypeScript

// @target: es6
async function bar() {
!await 42; // OK
}
async function bar1() {
+await 42; // OK
}
async function bar3() {
-await 42; // OK
}
async function bar4() {
~await 42; // OK
}