-
-
Save dpjayasekara/0bd76533b8797a97805c59dcb224b44f 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