16 August 2006

I found a fairly comprehensive essay/tutorial/FAQ about closure support in JavaScript. The document provides everything from definitions, ECMAScript prototype specifications, variable scoping, and examples.

The simple explanation of a Closure is that ECMAScript allows inner functions; function definitions and function expressions that are inside the function bodes of other functions.

Javascript Closures