2.2 Understanding the compilation phase

This video explains in detail what the JavaScript engine does in the compilation phase.