Created
June 29, 2022 07:05
-
-
Save ehatricksmith/3262c69b1dff1721d0da53be040c3020 to your computer and use it in GitHub Desktop.
This file contains 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
setTimeout(() => console.log("INTERRUPT"), 10); | |
// Will these logs be interrupted? | |
for (let i = 0; i < 1_000_000; i++) { | |
await (async () => console.log(i))(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment