Core JavaScriptExtendScript only
Object

Object

The base class of all JavaScript objects.

Properties

NameType AccessDescription
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

Object

Creates and returns a new object of a given type.

what Varies The object type.
Boolean

Reports whether a given property is defined with an instance or within the prototype chain.

name String The name of the property to check.
Boolean

Checks whether the given object is a prototype of this object.

what Object The object to check.
Boolean

Reports whether an object is still valid.

what Object The object to check.
Boolean

Reports whether a given property is enumerable.

name String The name of the property to check.
String

Creates and returns a string representing this object, localized for the current locale. See toString().

String

Creates and returns a string representation of this object.

String

Creates and returns a string representing this object.

void

Removes the watch function of a property.

name String The name of the property to unwatch.
Object

Retrieves and returns the primitive value of this object.

void

Adds a watch function to a property, which is called when the value changes.

name String The name of the property to watch.
func Function The function to be called when the value of this property 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.