Skip to content

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

+2-2
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)