Game input is disabled while help is open.
Controls
- Answer
- Click an option, or keys 1–4
- Next
- Enter or Next
How to play
Read each short snippet and pick what it prints. Every answer comes with a one-line explanation of the quirk behind it.
The questions35 snippets covering type coercion, scope and closures, the event loop, numbers and a few classic gotchas. Each round deals ten at random.
Checked answersEvery answer here is verified by actually running the snippet in this site's test suite. Snippets only print simple values, so the output is the same in every browser.
Output formatSeveral values in one console.log appear separated by spaces; each console.log is a new line.
1 player · Keyboard · Mouse · Touch
Next game: Bit Flip →