Please enable JavaScript to use CodeHS

Chapter 2

JavaScript Control Structures

2.3 Comparison Operators

Basic Comparisons

Grade Range

Voting Age

Check Your Understanding

  1. Incorrect Correct No Answer was selected Invalid Answer

Exercise: Rolling Dice


Term Definition
Boolean A boolean is a true or false value.
Comparison operator Used to make comparisons between values.