JavaScript tutorial:
Running Javascript code

 

The ability to execute an arbitrary piece of JavaScript means that your testing is lightning fast! While the JavaScript interpreter built into JavaScript Editor does not understand HTML (for this you need to test the code in Internal Viewer, or in the web browser), you can just highlight some code and run it.

To use the lightning fast execute:

Have a look at a simple AddTwo function, which adds the two numbers together and returns the result:

When you click on the Execute button (or press Ctrl+F5), the interpreter built into JavaScript Editor runs the code and displays the result of the write function:

The ability to run JavaScript straight from the Editor allows you to code, test, debug, perfect and execute your code without leaving the integrated environment.