Skip to content

Commit f86154a

Browse files
committed
Merge pull request BonsaiDen#124 from colinvivy/master
modify a wrong word
2 parents 348f2e2 + 7155c9e commit f86154a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/zh/other/timeouts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
`setTimeout` 只会执行回调函数一次,不过 `setInterval` - 正如名字建议的 - 会每隔 `X` 毫秒执行函数一次。
3636
但是却不鼓励使用这个函数。
3737

38-
当回调函数的执行被阻塞时,`setInterval` 仍然会发布更多的毁掉指令。在很小的定时间隔情况下,这会导致回调函数被堆积起来。
38+
当回调函数的执行被阻塞时,`setInterval` 仍然会发布更多的回调指令。在很小的定时间隔情况下,这会导致回调函数被堆积起来。
3939

4040
function foo(){
4141
// 阻塞执行 1 秒

0 commit comments

Comments
 (0)