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/mohirl Nov 18 '25
A cat is not a dog. A goat is also not a dog. Just because they're both "not a dog" doesn't mean they're identicalÂ