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

What is the output?

console.log(typeof typeof 1);
  1. string
  2. number
  3. undefined
  4. object
The inner typeof yields 'number', and the type of that string is 'string'.
Play Problem Solving ▸