This course will be retired on July 14, 2025.
Quiz Question 1 of 3
The filter function takes loops through the elements of a collection and yields a new collection for each element that the predicate returns true.
Choose the correct answer below:
Quizzes are the best way to test your knowlege. Sign up for Treehouse today and prove yourself. We guarantee 100% satisfaction.