Q. Which array method returns a new array with only truthy values?
β
Correct Answer: (A)
filter()
Explanation: filter() creates a new array with elements that pass a test.