NaN !== NaN

So there I was, minding my own business, again writing JavaScript tests… when suddenly I wanted to write a test to see what happens if NaN was supplied as a parameter. via GIPHY NaN Stands for “Not A Number”. You can get a NaN in a few different ways: But when checking for NaN, there’s … [Read more…]