Skip to main content

Use the filter method for letter wise search

· One min read
Ashish Kapoor
Software Engineer

The **filter()** method creates a new array with all elements that pass the test implemented by the provided function. — Source