$ ./guess_the_languageProblem Solving — predict the output
Problem Solving — predict the output · easy · #20

What is the output?

console.log(typeof 42);
  1. "int"
  2. "integer"
  3. "number"
  4. "42"
All JS numbers report the type "number".
Play Problem Solving ▸