Q. What is the output of console.log(typeof null)?

A
'object'
B
'null'
C
'undefined'
D
'number'
Solution:

typeof null returns ‘object’ due to a historical JavaScript quirk.

Entri PDF Icon

Get Question Bank

Strengthen Your Practice with our comprehensive question bank.

Entri Contact Image

Get Expert Advice for Free: Register for Your Free Consultation Now!