Object.entries()

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

Explanation: The static method that returns an array of a given object's own enumerable string-keyed property key-value pairs. This is useful for iterating over properties in a `for...of` loop or converting objects to other formats like arrays.

Browser compatibility:
  • The chrome browser supports this feature starting from version 54
  • The edge browser supports this feature starting from version 14
  • The firefox browser supports this feature starting from version 47
  • The safari browser supports this feature starting from version 10.1
Availability: