Question · JavaScript and TypeScript course · Module 2: Functions, Arrays and Objects

typeof Operator

What will typeof undefined return?

Answer options

  • 'undefined'
  • 'object'
  • 'null'
  • TypeError
Show the answer

Correct answer:

  • 'undefined'