A closure is the combination of a function bundled together (enclosed) with references to its surrounding state (the lexical environment).
A closure is the combination of a function bundled together (enclosed) with references to its surrounding state (the lexical environment).