.reduce()

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

Explanation: The method that processes each element in an array to reduce it to a single value. It uses a function that accumulates a result based on each element in sequence.

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