minor fixes

This commit is contained in:
Ilya Kantor 2022-04-06 11:57:13 +03:00
parent 45934debd9
commit e1b3dfafcd
2 changed files with 73 additions and 0 deletions

View file

@ -0,0 +1,21 @@
importance: 5
---
# What will be the output of this code?
```js
console.log(1);
setTimeout(() => console.log(2));
Promise.resolve().then(() => console.log(3));
Promise.resolve().then(() => setTimeout(() => console.log(4)));
Promise.resolve().then(() => console.log(5));
setTimeout(() => console.log(6));
console.log(7);
```