Google
 

Client-Side JavaScript 1.5 Reference

contents of this book:

Chapter 1 Objects, Methods, and Properties

Chapter 2 Top-Level Properties and Functions 

Chapter 3 Statements

Chapter 4 Comments 

Chapter 5 Operators 

Chapter 6 Java Classes, Constructors, and Methods

++ New Features in this Release  ++

#  Runtime errors. Runtime errors are now reported as exceptions.

# Number formatting enhancements. Number formatting has been enhanced to include Number.prototype.toExponential, Number.protoytpe.toFixed and Number.prototype.toPrecision methods. See page 127, page 128, and page 129.

# Regular expression enhancements:

*
* Greedy quantifiers - +, *, ? and {} - can now be followed by a ? to force them to be non-greedy. See the entry for ? on page 148.

* Non-capturing parentheses, (?:x) can be used instead of capturing parentheses(x). When non-capturing parentheses are used, matched subexpressions are not available as back-references. See the entry for (?:x) on page 148.

* Positive and negative lookahead assertions are supported. Both assert a match depending on what follows the string being matched. See the entries for (?=) and (?!) on page 148.

* The m flag has been added to specify that the regular expression should match over multiple lines. See page 146.

# Conditional function declarations. Functions can now be declared inside an if clause. See page 221.

# Function expressions. Functions can now be declared inside an expression. See page 254.

# Multiple catch clauses. Multiple catch clauses in a try...catch statement are supported. See page 231.

# Constants. Readonly, named constants are supported. This feature is available only in the C implementation of JavaScript. See page 215.

To Download this E-Book Click Here.


Post new comment

The content of this field is kept private and will not be shown publicly.