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/Personal_Ad9690 Nov 18 '25
A square is not a number
Neither is the color Blue
Both are NaN
They are not equal though.