Wording
This commit is contained in:
parent
f73236def6
commit
eb5c3a0d67
1 changed files with 2 additions and 2 deletions
|
@ -6,14 +6,14 @@ importance: 5
|
||||||
|
|
||||||
In the code below there's a `setTimeout` call scheduled, then a heavy calculation is run, that takes more than 100ms to finish.
|
In the code below there's a `setTimeout` call scheduled, then a heavy calculation is run, that takes more than 100ms to finish.
|
||||||
|
|
||||||
When the scheduled function will run?
|
When will the scheduled function run?
|
||||||
|
|
||||||
1. After the loop.
|
1. After the loop.
|
||||||
2. Before the loop.
|
2. Before the loop.
|
||||||
3. In the beginning of the loop.
|
3. In the beginning of the loop.
|
||||||
|
|
||||||
|
|
||||||
What `alert` is going to show?
|
What is `alert` going to show?
|
||||||
|
|
||||||
```js
|
```js
|
||||||
let i = 0;
|
let i = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue