[Contents] [Previous] [Next] [Index]

Chapter 4
Core   

This chapter includes the JavaScript core objects Array, Boolean, Date, Function, Math, Number, Object, and String. These objects are used in both client-side and server-side JavaScript.

Table 4.1 summarizes the objects in this chapter.

Table 4.1 Core objects
Object Description
Array
Represents an array.

Boolean
Represents a Boolean value.

Date
Represents a date.

Function
Specifies a string of JavaScript code to be compiled as a function.

Math
Provides basic math constants and functions; for example, its PI property contains the value of pi.

Number
Represents primitive numeric values.

Object
Contains the base functionality shared by all JavaScript objects.

RegExp
Represents a regular expression; also contains static properties that are shared among all regular expression objects.

String
Represents a JavaScript string.


[Contents] [Previous] [Next] [Index]

Last Updated: 10/31/97 16:00:33


Copyright ?1997 Netscape Communications Corporation