Object.getOwnPropertyDescriptors()

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

Explanation: The static method that returns an object containing all own property descriptors of the given object. This is useful for obtaining detailed information about each property, including its value and whether it's writable, enumerable or configurable.

Browser compatibility:
  • The chrome browser supports this feature starting from version 54
  • The edge browser supports this feature starting from version 15
  • The firefox browser supports this feature starting from version 50
  • The safari browser supports this feature starting from version 10
Availability: