mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-10 02:47:50 +00:00
Reducant check spotted by kitcambridge.
This commit is contained in:
@@ -636,8 +636,6 @@
|
|||||||
if (a === b) return a !== 0 || 1 / a == 1 / b;
|
if (a === b) return a !== 0 || 1 / a == 1 / b;
|
||||||
// A strict comparison is necessary because `null == undefined`.
|
// A strict comparison is necessary because `null == undefined`.
|
||||||
if ((a == null) || (b == null)) return a === b;
|
if ((a == null) || (b == null)) return a === b;
|
||||||
// Either one is undefined
|
|
||||||
if ((a === void 0) || (b === void 0)) return false;
|
|
||||||
// Unwrap any wrapped objects.
|
// Unwrap any wrapped objects.
|
||||||
if (a._chain) a = a._wrapped;
|
if (a._chain) a = a._wrapped;
|
||||||
if (b._chain) b = b._wrapped;
|
if (b._chain) b = b._wrapped;
|
||||||
|
|||||||
Reference in New Issue
Block a user