Reference Materials
Certification Courses
Created with over a decade of experience and thousands of feedback.
JavaScript Object Class
In JavaScript, an Object is a collection of key/value pairs.
In this reference page, you will find all the built-in methods of Object that will make working with objects much more easier and straightforward. For example, the keys() method returns an array containing the keys of an object.
Returns the string representation of Object
Returns array of object's enumerable property name
Return array of object's enumerable property value
Returns array of object's enumerable properties
Returns a string representing the object
Returns the primitive value of specified object
Seals the given object
Determines if an object is sealed
Sets prototype of object to another object or null
Check if object exists in other objects prototype
Checks if the specified property is enumerable
Returns the prototype of the given object
Creates new object from given object as prototype
Copies all enumerable own properties to an object
Defines properties on an object and returns object
Defines property directly on object and return it
Checks if two values are the same value
Freezes and returns an object
Determines if an object is frozen
Checks if object has a given property as its own
Prevents new properties from being added to object
Determines if an object is extensible
Transforms list of key-value pairs into an object
Returns property descriptor of own property of obj
Returns all own property descriptors of an object
Returns array of all properties found in an object
Returns array of all symbol properties in object