Why NaN === NaN returns false in JavaScript ?!
When people start exploring topics about JavaScript they get to feel a little weird sometimes and they also start to wonder why the heck do JavaScript act in such a manner, there have been even Github Repos like You Don't Know JS that explains how Ja...
blog.sekab.dev4 min read
Gene Nakagaki
I didn't know you can't check NaN with the
===operator! I'm glad I got to know this before running into this problem :DA little different from NaN, but I was a little surprised with this one also.
Boolean("false") // trueUntyped languages are so hard!