🤯 JavaScript "Wat?" Moments

JavaScript Tricky Questions
The Rules Behind the Quirks

[] == false, null == undefined, typeof null === "object". These aren't bugs — they're rules. Learn the rules and they stop being surprising.

1 tricky questions  ·  ✅ First 5 interactive free  ·  ✅ Commonly asked in interviews

Practice Free →

🎯 How to use this page

Try the first 5 questions here — click a question, type your prediction, see if you got it right. The rest are in the interactive quiz. These questions are designed to expose blind spots — you need to predict, not read.

🎯 Why interviewers love these questions

They test your mental model of JavaScript's type system — the Abstract Equality Comparison algorithm, how coercion fires, how the event loop orders execution. A developer who can't explain [] == false probably also writes coercion bugs in production.

Type Coercion

#01

Loose equality coercion

🟢 EasyType Coercion

Related Resources