From ace0dacf155fa2ff8b75fdb2a036e664f47eae59 Mon Sep 17 00:00:00 2001 From: jdalton Date: Thu, 12 Feb 2015 19:33:10 -0800 Subject: [PATCH] Make `baseMatches` style consistent with `baseMatchesProperty`. --- lodash.src.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lodash.src.js b/lodash.src.js index e4edf2721..9be0eec86 100644 --- a/lodash.src.js +++ b/lodash.src.js @@ -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); }; } }