Another curious concept of JavaScript is NaN, which tells us that a value is not a number. But why is NaN a thing?

Let's get to the bottom of this question with another experiment!

Huh! While we can divide by "12", trying to perform arithmetic with a non-numeric string like "Robin" will result in NaN.

Psst: even though NaN stands for not a number, its type is number.

Gotta get the syntax correct first, right?