SHARE
TWEET

Untitled

a guest Jul 17th, 2017 44 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. async function getData() {
  2.   const f1 = await fakeAsyncCall();
  3.   const f2 = await fakeAsyncCall();
  4.   const f3 = await fakeAsyncCall();
  5.   const f4 = await fakeAsyncCall();
  6.  
  7.   console.log(f1, f2, f3, f4); // 'foo data' x 4
  8. }
RAW Paste Data
Top