Skip to content
Advertisements

Month: January 2019

Object.values()

Object.values()

The Object.values () method returns the enumerable property values entered into the object as an array.

Object.toString()

Object.toString()

The toString( ) method is not one you often call explicitly in your JavaScript programs.

Object.seal

Object.seal()

Object.seal () is a method used to seal the object. Sealing an object: does not allow the addition of new features and preserves all existing features.

Object.keys()

Object.keys()

The Object.keys () method is a method for us to return the enumerable properties on an object to the array.

Object.isFrozen()

Object.isFrozen()

Object.isFrozen () is used to control whether an object is frozen. (An object is frozen by Object.freeze ()) Returns a boolean value that is true or incorrect.

Object.isExtensible()

Object.isExtensible()

Object.isExtensible () indicates whether to add new properties to an object and returns this result.

Object.is()

Object.is()

Object.is () checks whether the two values ​​are of the same value.