Effective JavaScript: 68 Specific Ways to Harness the Power of JavaScript (Effective Software Development Series)
This Year
Stack Overflow 1
This Month
Stack Overflow 1
I just came across this technique in the book Effective JavaScript that is pretty simple:
Since NaN is the only JavaScript value that is treated as unequal to itself, you can always test if a value is NaN by checking it for equality to itself:
Didn't realize this until @allsyed commented, but this is in the ECMA spec: https://tc39.github.io/ecma262/#sec-isnan-number
There are gaps/things that have changed since the book came out, but this is a really great resource for understanding the core JS language.