Skip to content

Commit daf2af8

Browse files
committed
Merge pull request BonsaiDen#203 from fiveminuteargument/patch-1
Update closures.md
2 parents ee5661d + aabbdcf commit daf2af8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/en/function/closures.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ the number `10` ten times.
6060

6161
The *anonymous* function keeps a **reference** to `i`. At the time
6262
`console.log` gets called, the `for loop` has already finished, and the value of
63-
`i` as been set to `10`.
63+
`i` has been set to `10`.
6464

6565
In order to get the desired behavior, it is necessary to create a **copy** of
6666
the value of `i`.

0 commit comments

Comments
 (0)