From b8bc6277216ecd29b683dd98d214a077094613b6 Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Fri, 16 Feb 2018 00:42:50 -0800 Subject: [PATCH] document that numberIsNaN is for IE11 --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 8fdb388..28347de 100644 --- a/index.js +++ b/index.js @@ -1744,7 +1744,7 @@ function isInstance (obj, type) { return obj instanceof type || (obj != null && obj.constructor != null && obj.constructor.name === type.name) } - function numberIsNaN (obj) { + // For IE11 support return obj !== obj // eslint-disable-line no-self-compare } -- 2.34.1