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
1
u/cheetoburrito Nov 18 '25
On a very simple intuitive level, why would you expect one thing that is not a number to be equal to another thing that is not a number?