The opposite of _.mapValues; this method creates an object with the same values as object and keys generated by running each own enumerable property of object through iteratee.
The object to iterate over.
Optional
The function invoked per iteration.
Returns the new mapped object.
_.mapKeys
The opposite of _.mapValues; this method creates an object with the same values as object and keys generated by running each own enumerable property of object through iteratee.