JavaScript Object.freeze() Method The Object.freeze() method freezes an object that prevents new properties from being added to it. This method prevents the…
javascript tutorial
-
-
JavaScript Object.getOwnPropertyDescriptor() Method The Object.getOwnPropertyDescriptor method allows to query the full information about a property and returns a property descriptor for an…
-
JavaScript Object.getOwnPropertyDescriptors() Method The Object.getOwnPropertyDescriptors() method returns all own property descriptors of a given object. The difference between getOwnPropertyDescriptors() and getOwnPropertyDescriptor() method…
-
JavaScript Object.getOwnPropertyNames() Method The Object.getOwnPropertyNames() method returns an array of all properties (except those non-enumerable properties which use symbol) found directly upon…
-
JavaScript Object.getOwnPropertySymbols() Method The Object.getOwnPropertySymbols() method returns an array of all symbol properties found directly upon a given object. This method returns…
-
JavaScript Object.getPrototypeOf() Method The Object.getPrototypeOf() method of JavaScript returns the prototype (i.e. the value of the internal [[Prototype]] property) of the specified…
-
JavaScript Object.is() Method The Object.is() method of JavaScript is used to determine whether two values are the same value. There is a…
-
JavaScript Object.seal() Method The Object.seal() method of JavaScript seals an object which prevents new properties from being added to it and marks…
-
JavaScript Object.assign() Method The Object.assign() method is used to copy the values of all enumerable own properties from one or more source…
-
JavaScript Object.create() Method The Object.create() method is used to create a new object with the specified prototype object and properties. We can…