add closure

This commit is contained in:
Stefan Feješ
2018-09-01 12:26:06 +02:00
parent 7804129848
commit 2dc004206d

4
glossary/Closure.md Normal file
View 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.