_.mapValues(object, [iteratee=_.identity])
varusers= { 'fred': { 'user': 'fred', 'age': 40 }, 'pebbles': { 'user': 'pebbles', 'age': 1 } }; _.mapValues(users, function(o) { returno.age; }); // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)// The `_.property` iteratee shorthand._.mapValues(users, 'age'); // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)