Skip to content

Commit 809cebc

Browse files
committed
closes #990
1 parent da3ba6a commit 809cebc

File tree

1 file changed

+1
-1
lines changed
  • 1-js/06-advanced-functions/08-settimeout-setinterval

1 file changed

+1
-1
lines changed

1-js/06-advanced-functions/08-settimeout-setinterval/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ setTimeout(() => { clearInterval(timerId); alert('stop'); }, 5000);
130130
```smart header="Time goes on while `alert` is shown"
131131
In most browsers, including Chrome and Firefox the internal timer continues "ticking" while showing `alert/confirm/prompt`.
132132

133-
So if you run the code above and don't dismiss the `alert` window for some time, then in the next `alert` will be shown immediately as you do it. So the actual interval between alerts will be shorter than 5 seconds.
133+
So if you run the code above and don't dismiss the `alert` window for some time, then in the next `alert` will be shown immediately as you do it. The actual interval between alerts will be shorter than 5 seconds.
134134
```
135135
136136
## Recursive setTimeout

0 commit comments

Comments
 (0)