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

Checking Types with typeof

What will typeof null return in JavaScript?

Answer options

  • "boolean"
  • "null"
  • "object"
  • "undefined"
Show the answer

Correct answer:

  • "object"