1. NaN
// please do not use window.isNaN() to identify NaN const a = NaN; const b = 'foo'; window.isNaN(a); // true window.isNaN(b); // true Number.isNaN(a); // true Number.isNaN(b); // false
标签:isNaN,特殊,const,数字,NaN,Number,window,true From: https://www.cnblogs.com/ran2022/p/17525525.html