Checking for NaN in JavaScript

What is NaN? NaN, in JavaScript, can be many things. In fact, it can be almost anything, so long as it is Not a Number. Its type is technical “number” (when evaluated with “typeof”), although it stands for Not a Number. What causes values to become NaN?


