From 6c9123beeecc68f6ace6f88b97ad5da781a72904 Mon Sep 17 00:00:00 2001 From: jdalton Date: Sat, 16 May 2015 18:52:04 -0700 Subject: [PATCH] Add `toObject` use to `baseIsMatch`. --- lodash.src.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lodash.src.js b/lodash.src.js index f723d759c..9aba6844a 100644 --- a/lodash.src.js +++ b/lodash.src.js @@ -2389,6 +2389,7 @@ if (object == null) { return !length; } + object = toObject(object); while (index--) { var data = matchData[index]; if ((noCustomizer && data[2])