filter() Example 1 filter() Example 1 This example defines an array [12, 5, 8, 130, 44] and then returns an array with all numbers greater than or equal to 10.
This example defines an array [12, 5, 8, 130, 44] and then returns an array with all numbers greater than or equal to 10.