$ ./guess_the_languageProblem Solving — predict the output
Problem Solving — predict the output · hard · #139

What is the output?

console.log(typeof NaN);
  1. number
  2. NaN
  3. undefined
  4. object
NaN is a numeric value meaning "not a valid number", so its type is number.
Play Problem Solving ▸