Object.seal()

Term side of the Card
Topic: Object
Unit title: Object.seal()
Categories: Method
Explanation side of the Card

Explanation: The static method that seals an object, preventing new properties from being added and marking all existing properties as non-configurable. However, the values of existing properties can still be modified.

Browser compatibility:
  • The chrome browser supports this feature starting from version 6
  • The edge browser supports this feature starting from version 12
  • The firefox browser supports this feature starting from version 4
  • The safari browser supports this feature starting from version 5.1
Availability: