Changes between Version 1 and Version 2 of JSC


Ignore:
Timestamp:
Jul 1, 2009 3:29:18 PM (15 years ago)
Author:
bfulgham@webkit.org
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • JSC

    v1 v2  
    1717
    1818=== 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.
    2025
    2126
     
    4853}}}
    4954
     55The 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.