diff --git a/glossary/Closure.md b/glossary/Closure.md new file mode 100644 index 000000000..17db2fd20 --- /dev/null +++ b/glossary/Closure.md @@ -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.