From: Feross Aboukhadijeh Date: Fri, 16 Feb 2018 08:42:50 +0000 (-0800) Subject: document that numberIsNaN is for IE11 X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=b8bc6277216ecd29b683dd98d214a077094613b6;p=buffer.git document that numberIsNaN is for IE11 --- 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 }