Within the scratchpad (shift+f4), you can write, run, and examine the results of code that interacts with the web page.
The selected code of the whole code
The Inspect option executes the code just like the Run option; however, after the code returns, an object inspector is opened to let you examine the returned value.
REPL: The Display option executes the selected code, then inserts the result directly into your Scratchpad editor window as a comment.
1+1
/*
2
*/
See Execute menu. It first reloads the page, then executes the code when the page's “load” event fires.