How to Play
Debug tricky JavaScript snippets before the dev terminal crashes. Jump straight in — Code Review runs instantly in your browser with no download or signup.
Controls
Use these controls: Select correct console output.
About Code Review
Code Review is one of many free games in the BitPlayZone arcade. It plays directly in your browser on desktop and mobile, loads in seconds, and is completely free with no installation required.
Tips & Strategy
To excel in Code Review, a thorough understanding of JavaScript fundamentals and common quirks is essential. Approach each snippet by mentally executing the code line by line, just as the JavaScript engine would. Pay close attention to variable scope (especially with `var`, `let`, and `const`), type coercion rules, and operator precedence. Don't assume the most obvious output; tricky snippets often hide subtle behaviors related to hoisting, closures, or asynchronous operations. Trace the values of variables as they change throughout the code. It's often helpful to quickly sketch out the execution flow or variable states if the snippet is complex. Remember that `console.log()` can behave differently depending on what's being logged and its context. A methodical approach, rather than guessing, will significantly improve your accuracy and prevent terminal crashes.
Frequently Asked Questions
How do I play Code Review?
You are presented with a JavaScript code snippet and must select the correct output that would appear in the console if the code were run.
What kind of JavaScript concepts are tested?
The quiz covers a range of JavaScript concepts, including variable scope, type coercion, operator precedence, and common language quirks.
Is there a time limit for solving each snippet?
Yes, there is a timer for each snippet, simulating the pressure of a real-world debugging scenario before the 'dev terminal crashes'.