
Comparison operators return true or false. Always use === (strict equality) instead of == — strict equality checks both value and type. !== checks not equal. >, <, >=, <= compare numbers. Using == causes subtle bugs because it performs type coercion before comparing.
Reference:
TaskLoco™ — The Sticky Note GOAT