GLOSSARY · A WORD, UNPACKED
NaN
a special numeric value representing a calculation or conversion that did not produce a valid number.
A little more detail
NaN stands for Not a Number, although typeof NaN is "number". It does not equal itself under ===, so use Number.isNaN to check for it. A successful conversion can still produce an unacceptable value such as Infinity, so use Number.isFinite when finite input is required.
See it in practice
These lessons pair the idea with examples you can change and run.