🧒 Explain like I'm 5
Imagine a parking space. `undefined` is a space that has never been assigned to anyone — it's blank on the booking sheet. `null` is a space that someone has intentionally marked as 'available / empty' after the previous car left. Both are empty, but `undefined` means 'nothing was ever put here', while `null` means 'I deliberately set this to nothing'.
Interactive quiz
Check your understanding with an instant-feedback quick check.
Detailed notes
Senior-level deep dive: internals, pitfalls, and a self-interview ladder.
Practice with AI feedback
Answer out loud, get scored on correctness, depth, and clarity.