Make baseMatches style consistent with baseMatchesProperty.

This commit is contained in:
jdalton
2015-02-12 19:33:10 -08:00
parent 5ca13098e3
commit ace0dacf15

View File

@@ -2471,7 +2471,7 @@
if (isStrictComparable(value)) {
return function(object) {
return object != null && value === object[key] && hasOwnProperty.call(object, key);
return object != null && object[key] === value && hasOwnProperty.call(object, key);
};
}
}