mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 17:37:50 +00:00
Add more tests for _.sortByAll and _.sortByOrder used as iteratees of _.reduce.
This commit is contained in:
@@ -7331,7 +7331,7 @@
|
||||
}
|
||||
var guard = args[2];
|
||||
if (guard && isIterateeCall(args[0], args[1], guard)) {
|
||||
args = args[0];
|
||||
args.length = 1;
|
||||
}
|
||||
return baseSortByOrder(collection, baseFlatten(args), []);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user