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 1138609 commit 49b9f6cCopy full SHA for 49b9f6c
Notes/10-Closures.md
@@ -21,5 +21,5 @@ console.log(z); // value of z is entire code of function y.
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
24
-somewhere else in program, it still remembers var a inside x().
+somewhere else in program, it still remembers var a inside x()
25
0 commit comments