From ae8248bb56c2a7f97cc4e620b45bb02586aff8bf Mon Sep 17 00:00:00 2001 From: Ilya Kantor Date: Mon, 17 May 2021 17:29:29 +0300 Subject: [PATCH] minor fixes --- 1-js/02-first-steps/02-structure/article.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/1-js/02-first-steps/02-structure/article.md b/1-js/02-first-steps/02-structure/article.md index fb90b14e..4f16a99d 100644 --- a/1-js/02-first-steps/02-structure/article.md +++ b/1-js/02-first-steps/02-structure/article.md @@ -73,9 +73,9 @@ alert("Hello") The difference compared to the code above is only one character: the semicolon at the end of the first line is gone. -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. +If we run this code, only the first `Hello` shows (and there's an error, you may need to open the console to see it). There are no numbers any more. -That's because JavaScript does not assume a semicolon before square brackets `[...]`. So, the code in the last example is treated as a single statement. +That's because JavaScript does not assume a semicolon before square brackets `[...]`. So, the code in the last example is treated as a single statement. Here's how the engine sees it: