Created
July 17, 2017 12:25
-
-
Save johnstew/fba8f4b5344acd6b1150188b66eb6f40 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment