Prepare for JavaScript technical interviews by practicing tricky questions on hoisting, closures, and scope.
Test your understanding of JavaScript edge cases and language quirks you may have overlooked.
Study foundational JavaScript concepts with detailed explanations of why code behaves a certain way.
This repository is a large collection of JavaScript quiz questions ranging from beginner to advanced level, each accompanied by a detailed explanation of the correct answer. The problem it addresses is the gap between knowing JavaScript syntax and truly understanding how the language behaves, particularly in tricky edge cases that often appear in technical job interviews. Each question presents a short code snippet and asks what output it produces or what happens when it runs, then offers multiple-choice options. Clicking the collapsed answer section reveals not just which option is correct but a thorough plain-English explanation of the underlying JavaScript concept, things like variable hoisting, how var and let differ in loops, how arrow functions handle the this keyword differently from regular functions, how closures capture scope, and many more subtle behaviors. The repository was created in 2019 and the README notes that the questions reflect JavaScript as it existed at that time, so some very recent language features may not be covered. However the core language behaviors explained are foundational and still relevant. You would use this to prepare for JavaScript coding interviews, to sharpen your understanding of language quirks you may have glossed over, or simply as a self-testing study tool. It is available in over twenty translated languages, making it accessible to a global audience. There is no code to install or run, it is entirely a Markdown document read directly on GitHub.
Generated 2026-05-18 · Model: sonnet-4-6 · Verify against the repo before relying on details.