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>
13811381
13821382< p id ="mapObject ">
13831383 < b class ="header "> mapObject</ b > < code > _.mapObject(object, iteratee, [context])</ code >
1384+ < span class ="alias "> Alias: < b > mapValues</ b > </ span >
13841385 < br />
13851386 Like < a href ="#map "> map</ a > , but for objects. Transform the value
13861387 of each property in turn.
Original file line number Diff line number Diff line change 993993
994994 // Returns the results of applying the iteratee to each element of the object
995995 // In contrast to _.map it returns an object
996- _ . mapObject = function ( obj , iteratee , context ) {
996+ _ . mapObject = _ . mapValues = function ( obj , iteratee , context ) {
997997 iteratee = cb ( iteratee , context ) ;
998998 var keys = _ . keys ( obj ) ,
999999 length = keys . length ,
You can’t perform that action at this time.
0 commit comments