add closure
This commit is contained in:
4
glossary/Closure.md
Normal file
4
glossary/Closure.md
Normal file
@ -0,0 +1,4 @@
|
||||
### Closure
|
||||
|
||||
A closure is the combination of a function and the lexical environment within which that function was declared.
|
||||
The closure allows a function to access the contents of that environment.
|
||||
Reference in New Issue
Block a user