From 2890eabf663ebe1dfef624e21b9a699bc2e6543c Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Sun, 20 Nov 2016 23:46:14 -0600 Subject: [PATCH] Replace `isObject` use with `isObjectLike` in `baseIsEqual`. --- lodash.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lodash.js b/lodash.js index baafa2154..5a750c2d5 100644 --- a/lodash.js +++ b/lodash.js @@ -3281,7 +3281,7 @@ if (value === other) { return true; } - if (value == null || other == null || (!isObject(value) && !isObjectLike(other))) { + if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) { return value !== value && other !== other; } return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);