November 2014
Beginner
336 pages
10h 58m
English
With your code execution paused at a breakpoint, you can do some really cool things. First, you can view the value of a variable by hovering your mouse over it (you have to admit, that’s a lot better than using alert or even console.log). If you don’t want to keep hovering over a variable, you can add it to your list of watch expressions, and the values of the variables will update as your code executes. You can add a variable to watch expressions by clicking the + and then typing the variable’s name. See Figure 12.14.
Figure 12.14 Watch expressions let you quickly see updates to variables you want to keep ...
Read now
Unlock full access