Which JavaScript method is used to create a new array with array elements that passes a test?
Options:
Explanation:
The JavaScript method
filter() is used to create a new array with array elements that pass a test.
Tags:
JavaScript
Answer:
Which JavaScript method is used to create a new array with array elements that passes a test filter().