ObjectConstructor
Value members
Concrete methods
Copy the values of all of the enumerable own properties from one or more source objects to a target object. Returns the target object.
Copy the values of all of the enumerable own properties from one or more source objects to a target object. Returns the target object.
- Value Params
- sources
One or more source objects from which to copy properties
- target
The target object to copy to.
Copy the values of all of the enumerable own properties from one or more source objects to a target object. Returns the target object.
Copy the values of all of the enumerable own properties from one or more source objects to a target object. Returns the target object.
- Value Params
- source
The source object from which to copy properties.
- target
The target object to copy to.
Copy the values of all of the enumerable own properties from one or more source objects to a target object. Returns the target object.
Copy the values of all of the enumerable own properties from one or more source objects to a target object. Returns the target object.
- Value Params
- source1
The first source object from which to copy properties.
- source2
The second source object from which to copy properties.
- target
The target object to copy to.
Copy the values of all of the enumerable own properties from one or more source objects to a target object. Returns the target object.
Copy the values of all of the enumerable own properties from one or more source objects to a target object. Returns the target object.
- Value Params
- source1
The first source object from which to copy properties.
- source2
The second source object from which to copy properties.
- source3
The third source object from which to copy properties.
- target
The target object to copy to.
Creates an object that has the specified prototype or that has null prototype.
Creates an object that has the specified prototype or that has null prototype.
- Value Params
- o
Object to use as a prototype. May be null.
Creates an object that has the specified prototype, and that optionally contains specified properties.
Creates an object that has the specified prototype, and that optionally contains specified properties.
- Value Params
- o
Object to use as a prototype. May be null
- properties
JavaScript object that contains one or more property descriptors.
Adds one or more properties to an object, and/or modifies attributes of existing properties.
Adds one or more properties to an object, and/or modifies attributes of existing properties.
- Value Params
- o
Object on which to add or modify the properties. This can be a native JavaScript object or a DOM object.
- properties
JavaScript object that contains one or more descriptor objects. Each descriptor object describes a data property or an accessor property.
Adds a property to an object, or modifies attributes of an existing property.
Adds a property to an object, or modifies attributes of an existing property.
- Value Params
- attributes
Descriptor for the property. It can be for a data property or an accessor property.
- o
Object on which to add or modify the property. This can be a native JavaScript object (that is, a user-defined object or a built in object) or a DOM object.
- p
The property name.
Returns an array of key/values of the enumerable properties of an object
Returns an array of key/values of the enumerable properties of an object
- Value Params
- o
Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.
Returns an array of key/values of the enumerable properties of an object
Returns an array of key/values of the enumerable properties of an object
- Value Params
- o
Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.
Prevents the modification of existing property attributes and values, and prevents the addition of new properties.
Prevents the modification of existing property attributes and values, and prevents the addition of new properties.
- Value Params
- o
Object on which to lock the attributes.
Prevents the modification of existing property attributes and values, and prevents the addition of new properties.
Prevents the modification of existing property attributes and values, and prevents the addition of new properties.
- Value Params
- o
Object on which to lock the attributes.
Prevents the modification of existing property attributes and values, and prevents the addition of new properties.
Prevents the modification of existing property attributes and values, and prevents the addition of new properties.
- Value Params
- o
Object on which to lock the attributes.
Returns an object created by key-value entries for properties and methods
Returns an object created by key-value entries for properties and methods
- Value Params
- entries
An iterable object that contains key-value entries for properties and methods.
Returns an object created by key-value entries for properties and methods
Returns an object created by key-value entries for properties and methods
- Value Params
- entries
An iterable object that contains key-value entries for properties and methods.
Gets the own property descriptor of the specified object. An own property descriptor is one that is defined directly on the object and is not inherited from the object's prototype.
Gets the own property descriptor of the specified object. An own property descriptor is one that is defined directly on the object and is not inherited from the object's prototype.
- Value Params
- o
Object that contains the property.
- p
Name of the property.
Returns an object containing all own property descriptors of an object
Returns an object containing all own property descriptors of an object
- Value Params
- o
Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.
Returns the names of the own properties of an object. The own properties of an object are those that are defined directly on that object, and are not inherited from the object's prototype. The properties of an object include both fields (objects) and functions.
Returns the names of the own properties of an object. The own properties of an object are those that are defined directly on that object, and are not inherited from the object's prototype. The properties of an object include both fields (objects) and functions.
- Value Params
- o
Object that contains the own properties.
Returns an array of all symbol properties found directly on object o.
Returns an array of all symbol properties found directly on object o.
- Value Params
- o
Object to retrieve the symbols from.
Returns the prototype of an object.
Returns the prototype of an object.
- Value Params
- o
The object that references the prototype.
Returns true if the values are the same value, false otherwise.
Returns true if the values are the same value, false otherwise.
- Value Params
- value1
The first value.
- value2
The second value.
Returns a value that indicates whether new properties can be added to an object.
Returns a value that indicates whether new properties can be added to an object.
- Value Params
- o
Object to test.
Returns true if existing property attributes and values cannot be modified in an object, and new properties cannot be added to the object.
Returns true if existing property attributes and values cannot be modified in an object, and new properties cannot be added to the object.
- Value Params
- o
Object to test.
Returns true if existing property attributes cannot be modified in an object and new properties cannot be added to the object.
Returns true if existing property attributes cannot be modified in an object and new properties cannot be added to the object.
- Value Params
- o
Object to test.
Returns the names of the enumerable string properties and methods of an object.
Returns the names of the enumerable string properties and methods of an object.
- Value Params
- o
Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.
Prevents the addition of new properties to an object.
Prevents the addition of new properties to an object.
- Value Params
- o
Object to make non-extensible.
Prevents the modification of attributes of existing properties, and prevents the addition of new properties.
Prevents the modification of attributes of existing properties, and prevents the addition of new properties.
- Value Params
- o
Object on which to lock the attributes.
Sets the prototype of a specified object o to object proto or null. Returns the object o.
Sets the prototype of a specified object o to object proto or null. Returns the object o.
- Value Params
- o
The object to change its prototype.
- proto
The value of the new prototype or null.
Returns an array of values of the enumerable properties of an object
Returns an array of values of the enumerable properties of an object
- Value Params
- o
Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.