Object.defineProperty()
Term side of the Card
Topic: Object
Unit title: Object.defineProperty()
Categories: Method
Explanation side of the Card
Explanation: The static method that defines a new property directly on an object or modifies an existing property and returns the object. It allows precise control over the property's behavior using property descriptors.
Browser compatibility:
- The chrome browser supports this feature starting from version 5
- 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: