JavaScript Associate — Easy
Key points
- `reduce()` combines array elements into a single value
- It requires a function to define the operation
- The accumulator stores the result of each iteration
Ready to go further?
Related questions
JavaScript Associate — Easy
Key points
Ready to go further?
Related questions