Created
May 25, 2018 21:48
-
-
Save Jonahss/68df67b58b84634e1ee90a3b517b16be to your computer and use it in GitHub Desktop.
uncertain-await
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 main () { | |
for (let i = 0; i < 100; i++) { | |
console.log(i) | |
await new Promise(() => {}) | |
} | |
} | |
main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
aha. This is the same as nodejs/node#19929