Array Filter Flashcards
1
Q
What is Array.prototype.filter useful for?
A
The filter() method creates a new array with all elements that pass the test implemented by the provided function.
Web Development > Array Filter > Flashcards
What is Array.prototype.filter useful for?
The filter() method creates a new array with all elements that pass the test implemented by the provided function.