Loading…
Loading…
Twenty-eight questions on the fine print of JavaScript, drawn from the ECMAScript specification and MDN: sparse arrays, -0, number limits, JSON edge cases, Date overflow, UTF-16, property attributes, inherited accessors, comparison quirks, labels, regex state and Symbol.toPrimitive.
This quiz goes beyond everyday code into the fine print: behavior defined precisely by the ECMAScript specification and documented on MDN that surprises even experienced developers. These details matter when you debug odd behavior, review code, or face a senior-level interview.
Every answer was confirmed by running it on Node.js. Unless a question says otherwise, code runs as a classic (non-strict) script, which is where several of these quirks show up. If you miss one, the explanation names the rule; the course outline shows which article covers it. Aim for at least 20 out of 28.
Quiz path: step 19 of 20. Take the quizzes in this order, after reading the articles they cover.
Previous quiz: JavaScript Interview Questions (Output Prediction and Core Concepts)
Next quiz: Modern JavaScript, ES2022 to ES2027 Features
28 questions · pass at 68%
Check your understanding; you see the answers and explanations after submitting.
Discussion
Sign in to ask a question or share what you learned.