Creates a new iterable with the results of calling a provided function on every element in the calling array. Similar to the Array.prototype.map function. See the documentation of the above function for more details.
Iterable on which to call the map function.
Function that is called for every element.
Optional
Value to use as this when executing callbackFn.
this
callbackFn
Creates a new iterable with the results of calling a provided function on every element in the calling array. Similar to the Array.prototype.map function. See the documentation of the above function for more details.