MCQ
What is the purpose of the `filter()` function?
Explanation
filter() creates a new array with elements that satisfy a provided condition.