Created
February 3, 2020 07:04
-
-
Save zolotyh/b7a0387c75095b00752101d830be4a88 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
Данный скрипт подключили в браузер при помощи тега скрипт. Открыли браузер и кликнули. В каком порядке выведутся сообщения?