Leaderboard Archive
Javascript Apr 22, 2026

What does this evaluate to?

console.log([] == false)
A false
B true
C TypeError
D undefined
Explanation
[] converts to "" (empty string), then 0. false converts to 0. 0 == 0 is true.
📝
Reviewed by CodeShot Editorial
Every challenge is code-reviewed by senior developers to ensure accuracy and real-world relevance. Learn more.

Ready for your shot?

Join thousands of developers solving one logic puzzle every morning.

Solve Today's Challenge →