JavaScript Developer's Dictionary covers all the essential functions, methods, and objects of JavaScript in an easy-to-find, logical order.
JavaScript, and each different version of JavaScript, interacts very differently with each variety of Web browser, leaving Web developers scrambling to write code that will work in all the major browsers. JavaScript Developer's Dictionary brings all these variants into one volume, breaking down every object in the JavaScript language and how it applies to each browser.
Wherever possible, the book also provides workarounds for earlier versions of JavaScript and for direct inconsistencies. The emphasis throughout this book is on compatibility across many versions of Netscape and Internet Explorer.
Table of Contents:
Introduction.
I. CORE JAVASCRIPT.
1. Object( ).
Description. Creating a New Object. Properties. Methods. Example: Creating a Persistent Reference to this.
2. Function( ).
Description. Executing a Function. Properties. Methods. Example: Using the Function( ) Objects' Source Codes.
3. Array( ).
Description. Properties. Methods. Example: An Extensible switch Function.
4. String( ).
Description. Properties. Methods. Example: Strings in HTML.
5. Boolean( ).
Description. Properties. Methods. Example: Shorthand for an if Statement.
6. Date( ).
Description. Properties. Methods. Example: Detecting Daylight Savings Time.
7. Number( ).
Description. Properties. Methods. Example: Implementing Complex Numbers in JavaScript.
8. Math.
Description. Properties. Methods. Example: A Logarithm Function for Multiple Bases.
9. RegExp( ).
Description. Properties. Methods. Example: Regular Expressions and Text Exercises.
10. Error( ).
Description. Properties. Methods. Example: Creating and Using Errors.
11. The Global Object and Statements.
Top-Level Objects. Top-Level Functions. Statements. Controlling How a Script Runs.
12. Operators.
The Primary Assignment Operator. Arithmetic Operators. Comparison Operators. Boolean Operators. Bitwise Operators. Word Operators.
13. JavaScript Syntax.
Parentheses, Square Brackets, and Curly Braces. Quote Marks. Semicolons, Colons, Commas, and Periods. Literals. ASCII and Unicode. Comment Lines //, /* ... */.
14. Conditional Compilation in Internet Explorer.
Description. Statements. Objects. Compatibility with Netscape Browsers.
II. WINDOW AND CLIENT OBJECTS.
15. Window.
Description. Properties. Methods. HTMLFrameSetElement /. Description. Properties. Methods. HTMLFrameElement/