Map the values of an iterator to a new structure similar to
Iterator
Mapping function
Array.prototype.map
Map the values of an iterator to a new structure similar to