From ff82a9bc892a5c91175d238851fa613c8aea4085 Mon Sep 17 00:00:00 2001 From: Peter Roche <46547072+paroche@users.noreply.github.com> Date: Tue, 11 Feb 2020 22:38:44 -0700 Subject: [PATCH] Update article.md "move the scheduling to the beginning" (2x) --- 2-ui/99-ui-misc/03-event-loop/article.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/2-ui/99-ui-misc/03-event-loop/article.md b/2-ui/99-ui-misc/03-event-loop/article.md index 18971e59..c8f73619 100644 --- a/2-ui/99-ui-misc/03-event-loop/article.md +++ b/2-ui/99-ui-misc/03-event-loop/article.md @@ -119,7 +119,7 @@ The notable thing is that both variants -- with and without splitting the job by To make them closer, let's make an improvement. -We'll move the scheduling in the beginning of the `count()`: +We'll move the scheduling to the beginning of the `count()`: ```js run let i = 0; @@ -128,7 +128,7 @@ let start = Date.now(); function count() { - // move the scheduling at the beginning + // move the scheduling to the beginning if (i < 1e9 - 1e6) { setTimeout(count); // schedule the new call }