Array.prototype.reduce Flashcards
1
Q
What is Array.prototype.filter
useful for?
A
to take many separate things and make them into one.
ex. add numbers or making placing many separate objects with values into one object
What is Array.prototype.filter
useful for?
to take many separate things and make them into one.
ex. add numbers or making placing many separate objects with values into one object