Working with NaN in JavaScript
And why NaN is not equal to NaN.

Javascript is a weird language, that is nothing new. But it amazes me how I haven’t seen it all after using Javascript for nearly a decade. I came across an interesting bug that inspired me for this article, I was struggling with a NaN value, and while trying to add a conditional for when the value was NaN I discovered that it’s not equal to NaN.