| Copyright ©1998 by AAA+ Software Forschungs- und Entwicklungs Ges.m.b.H. All Rights Reserved. Revision 2.00 - May 13, 1998. |
| JavaScript 1.2 Reference |
| Table of Contents |
| Introduction | ||
| Statements | ||
| Core Object Types | ||
| Global Functions |
| Introduction |
| Copyright - Netscape copyright information Identifiers - Values, Variables, and Literals Comments - Notations by the author Operators - JavaScript Operators Object Model - JavaScript Object Model |
| Statements |
| break - Abort looping command continue - Skip to the next iteration of a loop delete - Delete an object's property or an element of an array do...while - Execute its statements until the test condition evaluates to false export - Provide properties, functions, and objects to other scripts for - ``For'' loop for...in - Iterate over all the properties of an object function - Declare a function if...else - Execute scripts conditionally import - Import properties, functions, and objects from other scripts labeled - Provide an identifier that can be used with break or continue return - Specify the value to be returned by a function switch - Evaluate one of several scripts, depending on a given value var - Declare a variable while - Execute a script repeatedly as long as a condition is met with - Establish the default object for a set of statements |
| Core Object Types |
| Array - Represents an array Boolean - Represents a Boolean value Date - Represents a date Function - Specifies a string of code to be compiled as a function Math - Provides basic mathematical constants and functions Number - Represents primitive numeric values Object - Contains the base functionality shared by all JavaScript objects RegExp - Represents a regular expression String - Represents a string |
| Global Functions |
| eval - Evaluate a string of code isNaN - Evaluate an argument to determine if it is not a number Number - Convert an object to a number parseFloat - Parse a string argument and returns a floating-point number parseInt - Parse a string argument and returns an integer String - Convert an object to a string |
| Back to Main Index |