The array to filter and map.
The transform function from elements in the original array to elements in the resuling array.
The filter function to select transformed elements for the new array.
Creates a new array by first mapping and then transforming elements in the given array. Is an optimized form of
array.map().filter(), which iterates over the given array two times. For the reverse order of operations, use
filterMap.
The array to filter and map.
The transform function from elements in the original array to elements in the resuling array.
The filter function to select transformed elements for the new array.
Creates a new array by first mapping and then transforming elements in the given array. Is an optimized form of
array.map().filter(), which iterates over the given array two times. For the reverse order of operations, use filterMap.