minor
This commit is contained in:
parent
1efa9c7fe8
commit
427fbea180
4 changed files with 10 additions and 11 deletions
|
@ -18,7 +18,7 @@ function printNumbers(from, to) {
|
|||
printNumbers(5, 10);
|
||||
```
|
||||
|
||||
Using recursive `setTimeout`:
|
||||
Using nested `setTimeout`:
|
||||
|
||||
|
||||
```js run
|
||||
|
|
|
@ -9,5 +9,4 @@ Write a function `printNumbers(from, to)` that outputs a number every second, st
|
|||
Make two variants of the solution.
|
||||
|
||||
1. Using `setInterval`.
|
||||
2. Using recursive `setTimeout`.
|
||||
|
||||
2. Using nested `setTimeout`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue