Index Next |
Core JavaScript Guide 1.5 |
Core JavaScript Guide
Chapter 1 JavaScript Overview
- New Features in this Release
What You Should Already Know
JavaScript Versions
Where to Find JavaScript Information
Document Conventions
- What Is JavaScript?
JavaScript and Java
JavaScript and the ECMA Specification
New Features in this Release
- Relationship Between JavaScript and ECMA Versions
JavaScript Documentation vs. the ECMA Specification
JavaScript and ECMA Terminology
Part 1 Core Language FeaturesChapter 2 Values, Variables, and Literals
Chapter 3 Expressions and Operators
- Values
Variables
- Data Type Conversion
Constants
- Declaring Variables
Evaluating Variables
Variable Scope
Literals
Unicode
- Array Literals
Boolean Literals
Floating-Point Literals
Integers
Object Literals
String Literals
- Unicode Compatibility with ASCII and ISO
Unicode Escape Sequences
Displaying Characters with Unicode
Chapter 4 Regular Expressions
- Expressions
Operators
- Assignment Operators
Comparison Operators
Arithmetic Operators
Bitwise Operators
Logical Operators
String Operators
Special Operators
Operator Precedence
Chapter 5 Statements
- Creating a Regular Expression
Writing a Regular Expression Pattern
Working With Regular Expressions
- Using Simple Patterns
Using Special Characters
Using Parentheses
Examples
- Using Parenthesized Substring Matches
Executing a Global Search, Ignoring Case, and Considering Multiline Input
- Changing the Order in an Input String
Using Special Characters to Verify Input
Chapter 6 Functions
- Block Statement
Conditional Statements
Loop Statements
- if...else Statement
switch Statement
Object Manipulation Statements
- for Statement
do...while Statement
while Statement
label Statement
break Statement
continue Statement
Comments
- for...in Statement
with Statement
Exception Handling Statements
- The throw Statement
The try...catch Statement
Chapter 7 Working with Objects
- Defining Functions
Calling Functions
Using the arguments Array
Predefined Functions
- eval Function
isFinite Function
isNaN Function
parseInt and parseFloat Functions
Number and String Functions
escape and unescape Functions
Chapter 8 Details of the Object Model
- Objects and Properties
Creating New Objects
Predefined Core Objects
- Using Object Initializers
Using a Constructor Function
Indexing Object Properties
Defining Properties for an Object Type
Defining Methods
Using this for Object References
Defining Getters and Setters
Deleting Properties
- Array Object
Boolean Object
Date Object
Function Object
Math Object
Number Object
RegExp Object
String Object
- Class-Based vs. Prototype-Based Languages
The Employee Example
- Defining a Class
Subclasses and Inheritance
Adding and Removing Properties
Summary of Differences
Creating the Hierarchy
Object Properties
More Flexible Constructors
- Inheriting Properties
Adding Properties
Property Inheritance Revisited
- Local versus Inherited Values
Determining Instance Relationships
Global Information in Constructors
No Multiple Inheritance
Part 2 Working with LiveConnectChapter 9 LiveConnect Overview
Glossary
- Working with Wrappers
JavaScript to Java Communication
Java to JavaScript Communication
- The Packages Object
Working with Java Arrays
Package and Class References
Arguments of Type char
Handling Java Exceptions in JavaScript
Data Type Conversions
- Using the LiveConnect Classes
- JavaScript to Java Conversions
Java to JavaScript Conversions
Index
Index Next
Copyright © 2000 Netscape Communications Corp. All rights reserved.
Last Updated
September 28, 2000