JavaScript Closure Memory Leak

Javascript is a powerful scripting language for developing dynamic web pages.

While it has always been a powerful client side scripting language, it has also evolved as a server side scripting language with the introduction of Chrome V8 engine based Node.js javascript framework. For some, Javascript is serving as a one stop solution for both web/mobile client side and server side scripting.

One of the scripting constructs used in advanced javascripting is called Closures.