Skip to content

Commit 84d50bb

Browse files
committed
docs(async/timer): fixed #293
1 parent a428ce9 commit 84d50bb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/async/timer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ setTimeout(f, 1000) // 12
205205
})();
206206
```
207207

208-
上面代码中,先调用`setTimeout`,得到一个计算器编号,然后把编号比它小的计数器全部取消
208+
上面代码中,先调用`setTimeout()`,得到一个定时器,然后把编号比它小的定时器全部取消,就实现了清除所有定时器的目的
209209

210210
## 实例:debounce 函数
211211

0 commit comments

Comments
 (0)