Files
test-repo/tests/js/async/await-parse.js
T
dependabot[bot]andfisker 74b5f65565 Build(deps): Bump @babel/parser from 7.11.1 to 7.11.2 (#8922)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2020-08-06 20:19:11 +08:00

17 lines
257 B
JavaScript

async function f1() { (await f()).length }
async function g() {
invariant(
(await driver.navigator.getUrl()).substr(-7)
);
}
function *f2(){
!(yield a);
}
async function f3() {
a = !await f();
}
async () => {
new A(await x);
obj[await x];
}