Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
原因是什么?我相信这是 JavaScript 中唯一不等于自身的值。
NaN 不等于 NaN
使用 IsNaN 函数检查它
看这里