.forEach()

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

Explanation: The method that executes a provided function once for each element in an array. It's often used to perform actions on each item, but doesn't return a new array.

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: