Microsoft® JScript™
Object Object
 Language Reference 
Version 3 

See Also                  Methods                  Properties


Description
Provides functionality common to all JScript objects.
Syntax
new Object([value])

The optional value argument is used if you want to convert a primitive data type (number, Boolean, string, or function) into an object. If omitted, an object with no contents is created.

Remarks
The Object object is contained in all other JScript objects--all of its methods and properties are available in all other objects. The methods can be redefined in objects you define, and are called by JScript at appropriate times. The toString method is an example of a frequently redefined Object method.

In this language reference, the description of each Object method includes both default and object-specific implementation information for the intrinsic JScript objects.


© 1997 by Microsoft Corporation. All rights reserved.

See also: