Last active
July 28, 2021 11:18
-
-
Save vovk1805/0e1105fef3b299333084c58aff5b8e98 to your computer and use it in GitHub Desktop.
This file contains hidden or 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(1)); | |
setTimeout(() => { | |
console.log(2); | |
Promise.resolve().then(() => console.log('Inside Promise.resolve')); | |
}); | |
setTimeout(() => console.log(3)); | |
setTimeout(() => console.log(4)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment