-
-
Save dpjayasekara/515ba56708f20c849b753534107b502d 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
setImmediate(() => console.log('timeout1')); | |
setImmediate(() => { | |
console.log('timeout2') | |
process.nextTick(() => console.log('next tick')) | |
}); | |
setImmediate(() => console.log('timeout3')); | |
setImmediate(() => console.log('timeout4')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment