Files
30-seconds-of-code/glossary/Closure.md
2019-08-13 11:19:29 +03:00

8 lines
224 B
Markdown

---
title: Closure
tags: 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.