mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 10:07:48 +00:00
Bump to v4.0.1.
This commit is contained in:
@@ -11,7 +11,7 @@ define(['./baseForIn'], function(baseForIn) {
|
||||
function basePickBy(object, predicate) {
|
||||
var result = {};
|
||||
baseForIn(object, function(value, key) {
|
||||
if (predicate(value)) {
|
||||
if (predicate(value, key)) {
|
||||
result[key] = value;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user