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.
Learning Fuze > 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.