Skip to content

Instantly share code, notes, and snippets.

@inneroot
Created November 23, 2021 16:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save inneroot/03dc20a049a13ec3139cb95fa2c4b6fa to your computer and use it in GitHub Desktop.
Save inneroot/03dc20a049a13ec3139cb95fa2c4b6fa to your computer and use it in GitHub Desktop.
for await loop javascript
async function start() {
for await (let asyncFunction of asyncFunctions ) {
console.log(await asyncFunction())
}
}
start();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment