Created
February 13, 2022 14:13
-
-
Save antondevv/c871fc8935cfe5fe49fe72a57b85b28c to your computer and use it in GitHub Desktop.
promises
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("Using callback queue") | |
}, 0) | |
new Promise(resolve => resolve(console.log("Using micro queue"))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment