From 2dc004206ddbb5e822889b6c78273303e59af54c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Feje=C5=A1?= Date: Sat, 1 Sep 2018 12:26:06 +0200 Subject: [PATCH] add closure --- glossary/Closure.md | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 glossary/Closure.md 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.