Created
September 4, 2019 13:40
-
-
Save zolotyh/40b7bf3db04cb94605df7655e599f165 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
document.querySelector('body').addEventListener('click', () => console.log(1)); | |
setTimeout(() => console.log(2), 0); | |
for (var i = 0; i < 1000000000000; i++) {/*code*/} | |
console.log(3); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment