JS Execution Context Simulator
Initialize & Hoist
Next Step
Input Code
var a = 10; function getName() { var b = 20; } getName(); console.log(a);
*Use 'var' and 'function' for best visualization of hoisting.
Memory (Variable Environment)
Idle
Call Stack
Empty