Creates a new iterable with all elements that pass the test implemented by the provided function. Similar to the Array.prototype.filter function. See the documentation of the above function for more details.
Iterable on which to call the map function.
Function that is called to test every element.
Optional
Value to use as this when executing callbackFn.
this
callbackFn
Creates a new iterable with all elements that pass the test implemented by the provided function. Similar to the Array.prototype.filter function. See the documentation of the above function for more details.