array-reduce Flashcards
(1 cards)
1
Q
What is Array.prototype.reduce useful for?
A
it’s useful for combining elements in an array into a single value.
What is Array.prototype.reduce useful for?
it’s useful for combining elements in an array into a single value.