Core Objects

In This Section:

Array

Boolean

Date

Function

Math

Number

Object

String

Regular Expression

This section provides detailed descriptions of the JavaScript core objects, which are summarized in the following table.

ObjectDescription

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.

String

Represents a JavaScript string.

Regular Expression

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