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.
2 parents ee5661d + aabbdcf commit daf2af8Copy full SHA for daf2af8
doc/en/function/closures.md
@@ -60,7 +60,7 @@ the number `10` ten times.
60
61
The *anonymous* function keeps a **reference** to `i`. At the time
62
`console.log` gets called, the `for loop` has already finished, and the value of
63
-`i` as been set to `10`.
+`i` has been set to `10`.
64
65
In order to get the desired behavior, it is necessary to create a **copy** of
66
the value of `i`.
0 commit comments