Domanda di colloquio di Yahoo

There was a question on JavaScript closures, in particular about factory functions. Very specific to JavaScript.