From 3322f52122a8ba28bac43acc318347df6af74405 Mon Sep 17 00:00:00 2001 From: lilifan Date: Sat, 14 Oct 2017 23:23:14 +0800 Subject: [PATCH] correct type mistake correct type mistake --- 1-js/06-advanced-functions/08-settimeout-setinterval/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/06-advanced-functions/08-settimeout-setinterval/article.md b/1-js/06-advanced-functions/08-settimeout-setinterval/article.md index ec645913..358d497a 100644 --- a/1-js/06-advanced-functions/08-settimeout-setinterval/article.md +++ b/1-js/06-advanced-functions/08-settimeout-setinterval/article.md @@ -325,7 +325,7 @@ Then the next call is scheduled in `(*)` if we're not done yet. Pauses between `count` executions provide just enough "breath" for the JavaScript engine to do something else, to react on other user actions. -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. +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. To make them closer let's make an improvement.