.indexOf()

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

Explanation: The method that returns the first index at which a specified value is found in an array. If the value isn't found, it returns -1.

Browser compatibility:
  • The chrome browser supports this feature starting from version 1
  • The edge browser supports this feature starting from version 12
  • The firefox browser supports this feature starting from version 1.5
  • The safari browser supports this feature starting from version 3
Availability: