Leaderboard Archive
Javascript Apr 5, 2026

What does this output?

console.log(typeof null)
The Correct Answer
B
Explanation
typeof null returns "object" — this is a famous JavaScript bug from 1995. It was never fixed because doing so would break millions of existing websites.

Ready for your shot?

Join thousands of developers solving one logic puzzle every morning.

Solve Today's Challenge →