Files
test-repo/tests/format/js/async-do-expressions/async-do-expressions.js
T
renovate[bot]andfisker a04ec1196f chore(deps): update babel to v7.27.7 (#17684)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-06-27 07:15:08 +08:00

21 lines
201 B
JavaScript

async do {
1;
};
(async do {});
let x = async do {
if (foo()) { f() }
else if (bar()) { g() }
else { h() }
};
async do {
await 42
}
let x = async do {
let tmp = f();
tmp * tmp + 1
};