mirror of
https://github.com/swc-project/swc.git
synced 2024-12-26 23:27:56 +03:00
17 lines
212 B
TypeScript
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
|
|
} |