Полезная информация

Microsoft® JScript™
Object Object
 Language Reference 
Version 3 

See Also                  Methods                  Properties

Provides functionality common to all JScript objects.
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.

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 Microsoft Corporation. All rights reserved. Terms of Use.