ECMA-262-3 in detail. Chapter 6. Closures.

Read this article in: Russian, French.

Introduction

In this article we will talk about one of the most discussed topics related to JavaScript — about closures. The topic in fact is not new, and was discussed many times. However we will try to discuss and understand it more from a theoretical perspective, and also will look at how closures are implemented in ECMAScript.
Continue reading