mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 15:57:48 +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;
|
||||
// A strict comparison is necessary because `null == undefined`.
|
||||
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.
|
||||
if (a._chain) a = a._wrapped;
|
||||
if (b._chain) b = b._wrapped;
|
||||
|
||||
Reference in New Issue
Block a user