Last active
October 14, 2019 21:11
-
-
Save deepal/60d50579c71484e2708e847513b0822b 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('timeout1')); | |
setTimeout(() => { | |
console.log('timeout2') | |
Promise.resolve().then(() => console.log('promise resolve')) | |
}); | |
setTimeout(() => console.log('timeout3')); | |
setTimeout(() => console.log('timeout4')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment