Map function for object entries. Allows for redefining keys and values. Works like Array.prototype.map but key-value pairs are passed to and returned by the map function.
Array.prototype.map
map
The object to map.
The transformation function to use for each entry.
Map function for object entries. Allows for redefining keys and values. Works like
Array.prototype.mapbut key-value pairs are passed to and returned by themapfunction.