Skip to content

Commit 48cdc41

Browse files
committed
Added a missing 'i' in the for loop
1 parent b1da91b commit 48cdc41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

page/javascript-101/syntax-basics.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ var foo = function() {
4949
foo();
5050
5151
// This is much harder to read!
52-
var foo=function() {for(var i=0;i<10;++){alert(i);}};foo();
52+
var foo=function() {for(var i=0;i<10;i++){alert(i);}};foo();
5353
```
5454

5555
### Reserved Words

0 commit comments

Comments
 (0)