// the find
lydiahallie/javascript-questions
A long list of (advanced) JavaScript questions, and their explanations :sparkles:
A single-file collection of 150+ JavaScript quiz questions with hidden answers, covering hoisting, closures, prototypes, async behavior, and type coercion. It's aimed at developers preparing for interviews or testing their knowledge of JS quirks. The questions are well-chosen — not trivial, but not contrived either.
The explanations are genuinely good: each answer walks through why the JS engine behaves the way it does, not just what the answer is. Coverage of var/let/const scoping, event loop mechanics, and prototype chain behavior is solid and handled with real depth. The 22-language translation effort is impressive community adoption. Questions are progressive — early ones are accessible, later ones require you to actually think.
The content is frozen at 2019-era JavaScript — no optional chaining, nullish coalescing, Promise.allSettled, structuredClone, or anything from ES2020+. The repo itself notes this, which is honest, but means half the interview landscape isn't covered. It's also a single giant README with no search or filtering by topic, so finding 'all the async questions' requires scrolling or Ctrl+F. Last meaningful content update was 2024 but that appears to be minor maintenance, not new questions.