The map() method of Array instances creates a new array populated with the results of calling a provided function on every element in the calling array.| MDN Web Docs