Javascript Execution Environment

January 23rd, 2009
by Kurt

I’ve set up a Javascript execution environment.

It isn’t much — there are two elements in the page. The bottom part is a Javascript command line which executes whatever single line of Javascript code is entered. The top part is an edit area to write larger pieces of Javascript code. The larger piece of code can be executed by calling the “run()” function from the command line.

Also, a command history is maintained on the command line. Use the up and down arrows to scroll through previously entered commands. The contents of the top editor area can be stored by using the File->Save Cookie and File->Load Cookie functions.

Go ahead and try it, you can start with alert(”Hello World!”) in the command line.

Posted in Uncategorized | Comments (0)

No comments yet

Leave a Reply