Description: Javascript array filter() method creates a new array with all elements that pass the test implemented by the provided function.
www.tutorialspoint.com