File tree 2 files changed +2
-1
lines changed 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -1370,6 +1370,7 @@ <h2 id="objects">Object Functions</h2>
1370
1370
1371
1371
< p id ="mapObject ">
1372
1372
< b class ="header "> mapObject</ b > < code > _.mapObject(array, iteratee, [context])</ code >
1373
+ < span class ="alias "> Alias: < b > mapValues</ b > </ span >
1373
1374
< br />
1374
1375
Like < a href ="#map "> map</ a > , but for objects. Transform the value
1375
1376
of each property in turn.
Original file line number Diff line number Diff line change 951
951
952
952
// Returns the results of applying the iteratee to each element of the object
953
953
// In contrast to _.map it returns an object
954
- _ . mapObject = function ( obj , iteratee , context ) {
954
+ _ . mapObject = _ . mapValues = function ( obj , iteratee , context ) {
955
955
iteratee = cb ( iteratee , context ) ;
956
956
var keys = _ . keys ( obj ) ,
957
957
length = keys . length ,
You can’t perform that action at this time.
0 commit comments