File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -1381,6 +1381,7 @@ <h2 id="objects">Object Functions</h2>
1381
1381
1382
1382
< p id ="mapObject ">
1383
1383
< b class ="header "> mapObject</ b > < code > _.mapObject(object, iteratee, [context])</ code >
1384
+ < span class ="alias "> Alias: < b > mapValues</ b > </ span >
1384
1385
< br />
1385
1386
Like < a href ="#map "> map</ a > , but for objects. Transform the value
1386
1387
of each property in turn.
Original file line number Diff line number Diff line change 993
993
994
994
// Returns the results of applying the iteratee to each element of the object
995
995
// In contrast to _.map it returns an object
996
- _ . mapObject = function ( obj , iteratee , context ) {
996
+ _ . mapObject = _ . mapValues = function ( obj , iteratee , context ) {
997
997
iteratee = cb ( iteratee , context ) ;
998
998
var keys = _ . keys ( obj ) ,
999
999
length = keys . length ,
You can’t perform that action at this time.
0 commit comments