Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ae8248b

Browse files
committed
minor fixes
1 parent 18a0394 commit ae8248b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎1-js/02-first-steps/02-structure/article.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ alert("Hello")
7373
7474
The difference compared to the code above is only one character: the semicolon at the end of the first line is gone.
7575
76-
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.
76+
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.
7777
78-
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.
78+
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.
7979
8080
Here's how the engine sees it:
8181

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /