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 :D
A little different from NaN, but I was a little surprised with this one also.
Boolean("false") // true
Untyped languages are so hard!