We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffbe0f5 commit f47885bCopy full SHA for f47885b
β1-js/06-advanced-functions/04-var/article.md
@@ -56,7 +56,7 @@ alert(test); // ReferenceError: test is not defined
56
*/!*
57
```
58
59
-The same thing for loops: `var` cannot be block or loop-local:
+The same thing for loops: `var` cannot be block- or loop-local:
60
61
```js run
62
for (var i = 0; i < 10; i++) {
@@ -170,7 +170,7 @@ That's best demonstrated with an example:
170
171
172
function sayHi() {
173
- alert(phrase);
+ alert(phrase);
174
175
*!*
176
var phrase = "Hello";
0 commit comments