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 49b9f6c commit 72314beCopy full SHA for 72314be
Notes/10-Closures.md
@@ -20,6 +20,6 @@ console.log(z); // value of z is entire code of function y.
20
```
21
22
When functions are returned from another fun, they still maintain their lexical scope.
23
-- When y is returned, not only is the fun returned, but the entire closure (fun y + its lexical scope) is returned and put inside z. So when z is used
+- When y is returned, not only is the fun returned but the entire closure (fun y + its lexical scope) is returned and put inside z. So when z is used
24
somewhere else in program, it still remembers var a inside x()
25
0 commit comments