From d656a1df2b0cf5db62751dc7123fa13f82bf8999 Mon Sep 17 00:00:00 2001 From: Nicolas DUBIEN Date: Fri, 22 Feb 2019 01:08:00 +0100 Subject: [PATCH] Remove unnecessary comment in eq --- packages/expect/src/jasmineUtils.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/expect/src/jasmineUtils.ts b/packages/expect/src/jasmineUtils.ts index c5069ee71407..11e368d11001 100644 --- a/packages/expect/src/jasmineUtils.ts +++ b/packages/expect/src/jasmineUtils.ts @@ -106,8 +106,6 @@ function eq( // $FlowFixMe – Flow sees `a` as a number return a == String(b); case '[object Number]': - // `NaN`s are equivalent, but non-reflexive. An `egal` comparison is performed for - // other numeric values. return Object.is(Number(a), Number(b)); case '[object Date]': case '[object Boolean]':