Created
January 15, 2021 01:50
-
-
Save nafeu/1104ce713cb7b2843205203bb2b5cd4f 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
console.log('1 | print immediately'); | |
setTimeout(() => { | |
console.log('2 | print after one second'); | |
setTimeout(() => { | |
console.log('3 | print one second after line 2'); | |
}, 1000); | |
}, 1000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment