Object.getOwnPropertyDescriptor()

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

Explanation: The static method that returns a property descriptor for a named property on an object. The descriptor provides details about the property's configuration, such as whether it's writable, enumerable or configurable.

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
Availability: