What is the purpose of the Array.prototype.map() method in JavaScript?
Array.prototype.map()
Creates a new array by filtering the elements of an existing array based on a condition.
Creates a new array with the results of calling a provided function on every element in the array.
Creates a new array by joining all elements of an existing array into a string.
Creates a new array by removing specified elements from an existing array.