15.
Which method is used to iterate through each element of an array and returns a new array containing the results of calling a provided function on every element in the original array?
map()
filter()
reduce()
find()
Correct: A
The map() method is used to iterate through each element of an array and returns a new array containing the results of calling a provided function on every element in the original array. It is commonly used when you want to create a new array based on the transformation of the original array's elements. The map() method does not modify the original array.