Object.keys()

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

Explanation: The static method that returns an array of a given object's own enumerable property names. This is commonly used for iterating over the properties of an object in a loop.

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: