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 @@ -1370,6 +1370,7 @@ <h2 id="objects">Object Functions</h2>
13701370
13711371< p id ="mapObject ">
13721372 < b class ="header "> mapObject</ b > < code > _.mapObject(array, iteratee, [context])</ code >
1373+ < span class ="alias "> Alias: < b > mapValues</ b > </ span >
13731374 < br />
13741375 Like < a href ="#map "> map</ a > , but for objects. Transform the value
13751376 of each property in turn.
Original file line number Diff line number Diff line change 951951
952952 // Returns the results of applying the iteratee to each element of the object
953953 // In contrast to _.map it returns an object
954- _ . mapObject = function ( obj , iteratee , context ) {
954+ _ . mapObject = _ . mapValues = function ( obj , iteratee , context ) {
955955 iteratee = cb ( iteratee , context ) ;
956956 var keys = _ . keys ( obj ) ,
957957 length = keys . length ,
You can’t perform that action at this time.
0 commit comments