Skip to content

Instantly share code, notes, and snippets.

@ktilcu
Created January 18, 2018 14:20
Show Gist options
  • Select an option

  • Save ktilcu/0cddf9a9307b16a4725cea5e73eed475 to your computer and use it in GitHub Desktop.

Select an option

Save ktilcu/0cddf9a9307b16a4725cea5e73eed475 to your computer and use it in GitHub Desktop.
The hidden problem with async/await
var friends = await people.map(person => await person.getFriends());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment