Predict before reveal
Commit to an answer before the trace makes invisible state visible.
JavaScript, understood
Predict the result, inspect each state change, and replace fragile guesses with a dependable mental model.
Read your first snippetJavaScript reading gym
const original = { score: 4 };const copy = original;copy.score += 3;console.log(original.score);Make a prediction
Reading is a real skill
Commit to an answer before the trace makes invisible state visible.
Every distractor points to a mental model worth correcting.
Only reviewed examples run, inside a short-lived browser worker.
When a function leaves its original scope, it can still retain access to the bindings created there. Follow the binding—not merely the line where the function is called.
The reading habit
Pause at every assignment and ask: what changed, and who can see it?
That question clarifies closures, mutation, loops, callbacks, and asynchronous ordering without relying on memorized trivia.
Try another challengeNo. The gym isolates reading: predict output, trace values, or identify a defect before seeing the explanation.
No. Only reviewed, built-in output examples have matching worker executors. User-provided code is never evaluated.
The first release focuses on modern JavaScript so every explanation and runtime assumption can stay precise.
Only in this browser's localStorage. Challenge answers and progress are not sent to a backend.