Merge pull request #1555 from lumosmind/patch-20
code non-compatible with clarification drawing
This commit is contained in:
commit
80f3954b91
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ The second one uses nested `setTimeout`:
|
||||||
```js
|
```js
|
||||||
let i = 1;
|
let i = 1;
|
||||||
setTimeout(function run() {
|
setTimeout(function run() {
|
||||||
func(i);
|
func(i++);
|
||||||
setTimeout(run, 100);
|
setTimeout(run, 100);
|
||||||
}, 100);
|
}, 100);
|
||||||
```
|
```
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue