April 2002 Draft
JavaScript 2.0
Introduction
previousupnext

Tuesday, October 9, 2001


JavaScript 2.0 is the next major step in the evolution of the JavaScript language. JavaScript 2.0 incorporates the following features in addition to those already found in JavaScript 1.5:

These facilities reinforce each other while remaining fairly small and simple. Unlike in Java, the philosophy behind them is to provide the minimal necessary facilities that other parties can use to write packages that specialize the language for particular domains rather than define these packages as part of the language core.

The versioning and access control mechanisms make the language is suitable for programming-in-the-large.

The overridable basic operators can be used to implement numbers with attached units similar to the Spice proposals. Rather than implement the full unit model in the language core, JavaScript 2.0 provides the syntactic and semantic hooks to allow one to implement a unit library with whatever sophistication one’s application requires.


Waldemar Horwat
Last modified Tuesday, October 9, 2001
previousupnext