Closure

In computer programming, a closure is a technique for implementing lexically scoped name binding in a language with first-class functions. In JavaScript, a function creates a closure context.

See also

In this article