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