Remove isStrictComparable use from _.isEqual.

This commit is contained in:
jdalton
2015-05-16 09:29:11 -07:00
parent 48a56a848a
commit c42fea0d3d

View File

@@ -8769,9 +8769,6 @@
*/
function isEqual(value, other, customizer, thisArg) {
customizer = typeof customizer == 'function' ? bindCallback(customizer, thisArg, 3) : undefined;
if (!customizer && isStrictComparable(value) && isStrictComparable(other)) {
return value === other;
}
var result = customizer ? customizer(value, other) : undefined;
return result === undefined ? baseIsEqual(value, other, customizer) : !!result;
}