Closure

A closure is a programming technique that allows variables outside of the scope of a function to be accessed. In many cases, a closure is created when a function is defined within another function, allowing the inner function to access variables within the outer function.

Additional Information

Also see: Captured variable, Programming definitions