Javascript - (Firefox) Scratchpad

About

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

Management

Scratchpad Execute

Run

The selected code of the whole code

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.

Firefox Scratchpad Inspect

Display

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

1+1
/*
2
*/

Reload And Run

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





Discover More
Firefox Console
Browser - Javascript - (Web) Console

shelldevtool interpret a single line of code at a time REPL and then interact with the page and execute JavaScript. You can add message to the console through Console logging. The console keep...
Javascript - (Interpreter|Engine|Runtime)

Javascript Interpreter (JavaScript_engineJavaScript engine) is a software which interprets and executes JavaScript code. Javascript can run in two different environment: within a browser or without...
Javascript Function Method
Javascript - Functions

Functions functionalities in Javascript. A function in Javascript is a variable that’s given a reference to the function being declared. The function itself is a value (as an integer or an array) that...



Share this page:
Follow us:
Task Runner