Created
March 29, 2014 18:22
-
-
Save evillemez/9859465 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(function() { | |
console.log("2 seconds"); | |
}, 2000); | |
setTimeout(function() { | |
console.log("now??"); | |
}, 0); | |
console.log("now"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Or does the callback function to setTimeout only get pushed onto and popped from the stack when setTimeout is called?