Javascript - (Firefox) Scratchpad

> (World Wide) Web - (W3|WWW) > Javascript (Js|ECMAScript)

1 - About

Within the scratchpad (shift+f4), you can write, run, and examine the results of code that interacts with the web page.


3 - Management

3.1 - Run

The selected code of the whole code

3.2 - Inspect

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.

3.3 - Display

REPL: The Display option executes the selected code, then inserts the result directly into your Scratchpad editor window as a comment.


3.4 - Reload And Run

See Execute menu. It first reloads the page, then executes the code when the page's "load" event fires.

web/javascript/scratchpad.txt · Last modified: 2019/02/16 17:56 by