From f598b720ad464696e64cedf6824878a626c974a7 Mon Sep 17 00:00:00 2001 From: Ilya Kantor Date: Sun, 16 May 2021 18:43:55 +0300 Subject: [PATCH] minor fixes --- 1-js/02-first-steps/02-structure/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/02-first-steps/02-structure/article.md b/1-js/02-first-steps/02-structure/article.md index acefc349..bc573076 100644 --- a/1-js/02-first-steps/02-structure/article.md +++ b/1-js/02-first-steps/02-structure/article.md @@ -75,7 +75,7 @@ The difference compared to the code above is only one character: the semicolon a If we run this code, only the first `Hello` shows (and then you may see the error, but it may also be hidden). There are no numbers any more. -The difference is because JavaScript does not assume a semicolon before square brackets `[...]`. And, as there's no semicolon, the code in the first example is treated as a single statement. +That's because JavaScript does not assume a semicolon before square brackets `[...]`. And, as there's no semicolon, the code in the first example is treated as a single statement. Here's how the engine sees it: