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

17 lines
212 B
TypeScript

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