Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up

What is the output of typeof null in JavaScript?

  1. A "null"
  2. B "object"
  3. C "undefined"
  4. D "number"
Answer

"object"

This is a long-standing bug preserved for backward compatibility. Use value === null to test for null specifically.

All Javascript MCQs

Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up as