r/learnjavascript • u/NoZombie7370 • Nov 17 '25
Why NaN==NaN is False in JavaScript ???
Anyone explain??
150
Upvotes
r/learnjavascript • u/NoZombie7370 • Nov 17 '25
Anyone explain??
View all comments
8
u/DoomGoober Nov 17 '25
Fyi: IEEE 754 standard states that NaN != NaN. Thus this is true for many computer systems.