Skip to content

Day: January 29, 2019

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.