JavaScript – delete Operator
The delete operator deletes a property from an object. It deletes both the value of the property and the property itself.
The delete operator deletes a property from an object. It deletes both the value of the property and the property itself.
The Object constructor property returns the function that created the Object prototype.
The Object.keys() method returns an array iterator object with the keys of an object, without changing the original object.
The Object prototype property allows the addition of new properties and methods to objects.
The Object toString() method returns an object as a string or “[object Object]” if it cannot return a string.
The Object valueOf() method returns the primitive value of an object, or the object itself if it has no primitive.
This is a quick reference list of JavaScript object methods and properties with examples of how they are used.