πŸ“Š JavaScript
Q. What will be logged?
Code:
console.log(typeof undefined === typeof null);
  • (A) true
  • (B) false
  • (C) undefined
  • (D) Error
πŸ’¬ Discuss
βœ… Correct Answer: (B) false

Explanation: typeof undefined is 'undefined', typeof null is 'object'.

Explanation by: Chandani
typeof undefined is 'undefined', typeof null is 'object'.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
53
Total Visits
πŸ“½οΈ
8 mo ago
Published
πŸŽ–οΈ
Chandani
Publisher
πŸ“ˆ
94%
Success Rate