MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/21ezh3/javascript_equality_table/cgcmmdl?context=9999
r/programming • u/vz0 • Mar 26 '14
331 comments sorted by
View all comments
2
So null and undefined are apparently the same thing? Or just the same during the comparison operation? And it's interesting that Nan!=Nan.
7 u/megamindies Mar 26 '14 Well Nan is defined as a number, so it cant be equal to Nan because thats means "Not a Number" → More replies (2)
7
Well Nan is defined as a number, so it cant be equal to Nan because thats means "Not a Number"
→ More replies (2)
2
u/j1xwnbsr Mar 26 '14
So null and undefined are apparently the same thing? Or just the same during the comparison operation? And it's interesting that Nan!=Nan.