From eee2a8b12f9da6055f2d7dae39fdcabac0bb026e Mon Sep 17 00:00:00 2001 From: saqqdy Date: Mon, 23 Oct 2023 14:16:43 +0800 Subject: [PATCH] release v5.12.0 --- src/isEqual.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/isEqual.ts b/src/isEqual.ts index e8b5c5f4..20b274b6 100644 --- a/src/isEqual.ts +++ b/src/isEqual.ts @@ -5,7 +5,6 @@ import isArray from './isArray' const eq = function (a: any, b: any, aStack?: any[], bStack?: any[]) { // Identical objects are equal. `0 === -0`, but they aren't identical. // See the [Harmony `egal` proposal](http://wiki.ecmascript.org/doku.php?id=harmony:egal). - // @ts-expect-error: fix in next version 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