Q. Which method is used to loop over an array and create a new array with the results?
β
Correct Answer: (A)
map()
Explanation: map() creates a new array by applying a function to each element.