.keys()

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

Explanation: The method that returns a new `Iterator` object containing the indexes (keys) of an array. This allows looping over the positions of the elements in the array.

Browser compatibility:
  • The chrome browser supports this feature starting from version 38
  • The edge browser supports this feature starting from version 12
  • The firefox browser supports this feature starting from version 28
  • The safari browser supports this feature starting from version 8
Availability: