The previous two recipes have already demonstrated the syntax for logging messages to a console.
In this recipe, get ready to use the console for stepping through an application while watching the variable stack.
Right-click the line number and type an expression, just like you would within the parentheses of an
if statement. In the code snippet for this recipe, on line 30, use
obj_key == "key3".
Once the page is reloaded, the loop iterating over the object will run. On each pass through line 30, the conditional breakpoint will be evaluated. If ...