NAN has a numeric value?

So nan is an undefined value but its still considered a number? I got the answer wrong on the quiz. And I cant understand the logic behind it.

Hi @SustainableProfits,

You could check out this article for more reference. https://javascriptrefined.io/nan-and-typeof-36cd6e2a4e43#:~:text=By%20definition%2C%20NaN%20is%20the,undefined%20as%20a%20real%20number%20.

Hope this helps. :slight_smile:

1 Like