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 f47885b

Browse files
committed
minor fixes
1 parent ffbe0f5 commit f47885b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎1-js/06-advanced-functions/04-var/article.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ alert(test); // ReferenceError: test is not defined
5656
*/!*
5757
```
5858

59-
The same thing for loops: `var` cannot be block or loop-local:
59+
The same thing for loops: `var` cannot be block- or loop-local:
6060

6161
```js run
6262
for (var i = 0; i < 10; i++) {
@@ -170,7 +170,7 @@ That's best demonstrated with an example:
170170

171171
```js run
172172
function sayHi() {
173-
alert(phrase);
173+
alert(phrase);
174174

175175
*!*
176176
var phrase = "Hello";

0 commit comments

Comments
(0)

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