Test Debugger

Launch the debugger in the browser using the menu. Explain what you see and why.

Expected Output

Check the value of i: 0
Check the value of i: 1
Check the value of i: 2
Check the value of i: 3

Actual Output

 

Open the debugger and then click the button below.

When Entering an Execution Context, the Variable Environment is initialized with parameter variables, Function Declarations, and Variable Statements (§ 10.5).