What is Scope?

In the first few paragraphs of this chapter, the author is trying to assert the fact that Javascript, although popularly thought of as a dynamic or an interpreted language, is infact mostly a compiled one.

He goes on to make the case that the Javascript engine, on the fly, compiles the JS code right before it is executed – usually in microseconds.

This “compilation”, he further states, is a 3-step process which comprises:

He further asserts other important points which are bulleted below: