.filter()
Term side of the Card
Topic: Array
Unit title: .filter()
Categories: Method
Explanation side of the Card
Explanation: The method that creates a new array with only the elements that pass a test defined by a function. It's used to remove unwanted items from an array based on certain conditions.
Browser compatibility:
- The chrome browser supports this feature starting from version 1
- The edge browser supports this feature starting from version 12
- The firefox browser supports this feature starting from version 1.5
- The safari browser supports this feature starting from version 3
Availability: