Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/nodejs/node
/ f2
Function
f2
deps/v8/test/mjsunit/es8/async-await-basic.js:577–584 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
575
576
assertEquals(42, f1());
577
async
function
f2() {
578
var
x;
579
with ({get
await
() {
return
[42] }}) {
580
x =
await
581
[0];
582
};
583
return
x;
584
}
585
586
var
ans;
587
f2().then(x => ans = x).catch(e => ans = e);
Callers
1
async-await-basic.js
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected