|
The JScript Object object provides functionality common to all JScript objects.
Returns the primitive value of the specified object. | |
Returns a string representation of an object. |
The function that creates an object. | |
A reference to the prototype for a class of objects. |
new Object([value])
value
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. Optional.
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.
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.