πŸ“Š JavaScript
Q. What will be the output of: console.log(typeof null);
  • (A) null
  • (B) undefined
  • (C) object
  • (D) boolean
πŸ’¬ Discuss
βœ… Correct Answer: (C) object

Explanation: In JavaScript, typeof null returns 'object' due to a legacy bug.

Explanation by: Chandani
In JavaScript, typeof null returns 'object' due to a legacy bug.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
45
Total Visits
πŸ“½οΈ
9 mo ago
Published
πŸŽ–οΈ
Chandani
Publisher
πŸ“ˆ
92%
Success Rate