caucho
 Changes

JavaScript 1.3 changes from EcmaScript

Resin 1.0 follows most of the additions Netscape's JavaScript 1.3 makes to EcmaScript. It does not add the changes to the function arguments variable.

Resin 1.0 changes from JavaScript 1.3

The Resin changes from JavaScript 1.3 fall under the following categories.

  1. Enhancements allowing scripts to more clearly express their intensions.
  2. Enhancements allowing scripts robustly handle exceptions and execute in a threaded environment.
  3. Library changes following Java APIs when they conflict with JavaScript.
Resin will faithfully execute scripts restricting themselves to EcmaScript.
  • Literals
  • Statements
  • Expressions
    • `if (a = 3)' is no longer allowed. Assigments used as truth values must have an extra pair of parentheses.
    • fun\n(2, 3, 4) automatically inserts a semicolon at the newline.
    • eval is a keyword. The only practical difference is that scripts cannot assign eval to a variable.
    • arguments no longer has the caller property.
  • Libraries
    • The file and stream model is completely different from JavaScript 1.3.
    • The database model fullows JDBC, differing from JavaScript 1.3
    • The session model fullows JSDK, differing from JavaScript 1.3

 
Copyright © 1998-2000 Caucho Technology. All rights reserved.
Last modified: Thu, 16 Sep 1999 14:56:48 -0700 (PDT)