测试一个数字是否等于 NaN

ES6提供了一个新的 Number.isNaN() 函数,这是一个不同的函数,并且比老的全局 isNaN() 函数更可靠。
原文地址:https://www.cnblogs.com/shiyunfront/p/10471204.html