
JS Equality Game
Test your knowledge of JavaScript's tricky == operator. Fill in the equality table by guessing which comparisons return true — a fun challenge for developers.
Created by slikts
Create a free account to get instant access
How to Use
• **Objective**: Predict whether JavaScript value pairs will be equal using the == operator (loose equality) • **How to play**: Click on grid cells to mark your predictions - green for "equal" (true), red for "not equal" (false) • **Controls**: Use mouse clicks to select cells, or use keyboard navigation with arrow keys and spacebar to toggle selections • **Scoring**: The game tests your knowledge of JavaScript's type coercion rules - you'll be surprised by some results! • **Key insight**: This demonstrates why === (strict equality) is often preferred over == in JavaScript • **Grid layout**: Values are shown on both axes - predict if the row value equals the column value using == • **Challenge**: Even experienced developers often struggle with these comparisons due to JavaScript's complex implicit type conversion rules