Skip to content

Commit 3322f52

Browse files
authored
correct type mistake
correct type mistake
1 parent b4ee23c commit 3322f52

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
@@ -325,7 +325,7 @@ Then the next call is scheduled in `(*)` if we're not done yet.
325325

326326
Pauses between `count` executions provide just enough "breath" for the JavaScript engine to do something else, to react on other user actions.
327327

328-
The notable thing is that both variants: with and without splitting the job by `setInterval` -- are comparable in speed. There's no much difference in the overall counting time.
328+
The notable thing is that both variants: with and without splitting the job by `setTimeout` -- are comparable in speed. There's no much difference in the overall counting time.
329329

330330
To make them closer let's make an improvement.
331331

0 commit comments

Comments
 (0)