Book reference to understand JavaScript internal working
<p>"Primitive Values store in stack and referenced values in heap" - Professional Javascript For Web Developers. </p>

<p>"There are two stages of the code handling, where variables, function declarations, and formal parameters
are created at the first stage, which is the stage of parsing and entering
the context.In the second stage, the stage of runtime code execution," - Object-Oriented JavaScript By Stoyan Stefanov</p>

<p>now how would I validate these, is there anybook that can help me to understand what is happening behind the scene.    </p>
