diff --git a/lodash.src.js b/lodash.src.js index e414b2b40..1204ecc0e 100644 --- a/lodash.src.js +++ b/lodash.src.js @@ -2285,7 +2285,7 @@ if (value === other) { return true; } - if (value == null || other == null || (!isObject(value) && !isObject(other))) { + if (value == null || other == null || (!isObject(value) && !isObjectLike(other))) { return value !== value && other !== other; } return baseIsEqualDeep(value, other, baseIsEqual, customizer, isLoose, stackA, stackB);