Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- async function getData() {
- const f1 = await fakeAsyncCall();
- const f2 = await fakeAsyncCall();
- const f3 = await fakeAsyncCall();
- const f4 = await fakeAsyncCall();
- console.log(f1, f2, f3, f4); // 'foo data' x 4
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement