Skip to content

Commit 21a7b32

Browse files
committed
docs(async): edit timer
1 parent f4694a8 commit 21a7b32

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/async/timer.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ setTimeout(f, 1000) // 12
190190

191191
```javascript
192192
(function() {
193+
// 每轮事件循环检查一次
193194
var gid = setInterval(clearAllTimeouts, 0);
194195

195196
function clearAllTimeouts() {

0 commit comments

Comments
 (0)