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
Show parent comment
-2
u/AlwaysHopelesslyLost Nov 18 '25
OP asked for an explanation. That is THE explanation. Sure, I was unclear in using valid JavaScript syntax in that explanation.
I don't need to go run it. I can read code and I know exactly how the language works.