Created
June 5, 2024 11:08
-
-
Save isublimity/3701ed9ae93297262ca7aeaf0721f181 to your computer and use it in GitHub Desktop.
Say.js
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
// Каков будет результат функции? | |
function say() { | |
setTimeout(() => console.log('google')) | |
new Promise((resolve) => resolve()).then(() => console.log("yandex")); | |
console.log("smi2"); | |
} | |
say(); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment