Creates and returns a new object of a given type.
Object
The base class of all JavaScript objects.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| Function | readonly | Points to the constructor function that created this object. | |
| Object | readonly | Points to the prototype object for this object. | |
| Reflection | readonly | Retrieves and returns the Reflection object associated with this method or a property. |
Methods
Reports whether a given property is defined with an instance or within the prototype chain.
Checks whether the given object is a prototype of this object.
Reports whether an object is still valid.
Reports whether a given property is enumerable.
Creates and returns a string representing this object, localized for the current locale. See toString().
Creates and returns a string representation of this object.
Creates and returns a string representing this object.
Removes the watch function of a property.
Retrieves and returns the primitive value of this object.
Adds a watch function to a property, which is called when the value changes.
Object of 4
Properties elsewhere that hold a Object.
Parameter of 5
Method parameters that accept a Object.
Return 4
Methods that return a Object.