Analysis updated 2026-05-18
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.
| lydiahallie/javascript-questions | kelseyhightower/nocode | bradtraversy/design-resources-for-developers | |
|---|---|---|---|
| Stars | 65,322 | 65,253 | 65,464 |
| Language | — | Dockerfile | — |
| Setup difficulty | easy | easy | easy |
| Complexity | 1/5 | 1/5 | 1/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
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.
A collection of 100+ JavaScript quiz questions with detailed explanations, covering beginner to advanced concepts like hoisting, closures, and this binding to prepare for interviews and deepen language understanding.
Use freely for any purpose including commercial, as long as you keep the copyright notice.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.