Posted incompare
Can You Compare NaN In JavaScript With Other Values?
NaN in JavaScript, often a source of confusion, represents a "Not-a-Number" value. Can you compare NaN in JavaScript? Yes, you can compare it, but the comparison will always return false,…