This page allows you to experiment with JavaScript programming. It produces
results interactively, even on each keystroke if you wish. It prints any error
messages that are generated, and includes a beautifier so your code looks
classical, even if it isn't.
Some Notes:
-
A set of programming examples is available in the drop-down list.
-
There is a variable named "input" that gets the values typed into the upper
window.
-
There is a pseudo-function called "print()" (not part of javaScript) that
allows data to be placed in the output window. See examples for its use.
-
You can lock up your browser by typing in any number of endless loop
constructs. Examples: "while(1);", "for(;;);". You may not really want to find
out if this locks up your browser.
-
Examine the page itself for some JavaScript programming tricks.
-
While running this page, if you are using Microsoft
Internet Explorer, be sure to turn off "script debugging" so you won't have to
look at endless message dialogs about errors you may have intended to make. Go
to Tools ... Internet Options ... Advanced ... Browsing ... Disable Script
Debugging.
|