Tag: polyfill
All the articles with the tag "polyfill".
-
Polyfill 学习:Object.is
Object.is 解决了 0 === -0 和 NaN !== NaN 的问题。
-
Polyfill 学习:Number.isNaN
利用 NaN 不等于自身的特性实现 Number.isNaN。
All the articles with the tag "polyfill".
Object.is 解决了 0 === -0 和 NaN !== NaN 的问题。
利用 NaN 不等于自身的特性实现 Number.isNaN。