Changes between Version 1 and Version 2 of JSC
- Timestamp:
- Jul 1, 2009, 3:29:18 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
JSC
v1 v2 17 17 18 18 === Built-In Functions === 19 * {{{quit()}}} Quit the interpreter 19 {{{quit()}}}:: 20 Quit the interpreter 21 {{{load('[FileName]')}}}:: 22 Load and execute the specified external JavaScript file 'FileName'. If the run is successful, it will return the final value of the script. 23 {{{run('[FileName]')}}}:: 24 Load and execute the specified external JavaScript file 'FileName'. If the run is successful, it will return the elapsed milliseconds for the run. 20 25 21 26 … … 48 53 }}} 49 54 55 The return value of {{{undefined}}} from the variable assignment is from the JavaScript specification. While it might seem like an odd response to a successful operation, it is the expected behavior.