Skip to content

Instantly share code, notes, and snippets.

@Olegas
Created June 10, 2019 11:26
Show Gist options
  • Save Olegas/7abbdd38ab78eb41865f7daa22668031 to your computer and use it in GitHub Desktop.
Save Olegas/7abbdd38ab78eb41865f7daa22668031 to your computer and use it in GitHub Desktop.
console.log(0);
for(var i = 0; i < 1000000000; i++) {
setTimeout(function() {
console.log(1);
}, 0);
}
console.log(2);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment