Object.getOwnPropertyNames()

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

Explanation: The static method that returns an array of all own property names of a given object, including non-enumerable properties. This method doesn't include symbol properties.

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: