Filtering an array with a function that returns a promise Filtering an array with a function that returns a promise arrays arrays