Summary: in this tutorial, you will learn how to use the JavaScript Array filter() method to filter elements in an array.
Introduction to JavaScript array filter() method
One of the most common tasks when working with an array is to create a new array that contains a subset of elements of the original array.
...
https://www.youtube.com/watch?v=NlGXxwdxMfQ