Photo by Lukas Blazek on UnsplashObject in JavascriptAnkit Shukla·Jan 8, 2023·1 min readPermalinkWhat is an Object in Javascript ? PermalinkAn object is a data type that can take in collections of key-value pairs. PermalinkJavaScript is an object-based language. Everything is an object in JavaScript. PermalinkJavascript Object Methods :- PermalinkObject.create() : PermalinkThis method is used to create a new object with the specified prototype object and properties. PermalinkObject.assign() : PermalinkThis method is used to copy enumerable and own properties from a source object to a target object. PermalinkObject.getPrototypeOf() : PermalinkThis method returns the prototype of the specified object. PermalinkObject.setPrototypeOf() : PermalinkThis method sets the prototype of a specified object to another object. PermalinkObject.values() : PermalinkThis method returns an array of values. PermalinkObject.defineProperty() : PermalinkThis method is used to describe some behavioral attributes of the property. PermalinkObject.is() : PermalinkThis method determines whether two values are the same value. iwritecodeineuronJavaScript Share this