mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-31 07:17:50 +00:00
Use in instead of relying on behavior.
This commit is contained in:
@@ -3320,7 +3320,7 @@
|
||||
*/
|
||||
function baseOrderBy(collection, iteratees, orders) {
|
||||
var index = -1;
|
||||
iteratees = arrayMap(iteratees.length ? iteratees : Array(1), getIteratee());
|
||||
iteratees = arrayMap(iteratees.length ? iteratees : [identity], getIteratee());
|
||||
|
||||
var result = baseMap(collection, function(value, key, collection) {
|
||||
var criteria = arrayMap(iteratees, function(iteratee) {
|
||||
|
||||
Reference in New Issue
Block a user