Comparison Operators: <, >, <=, >=, ==, ===, !=, !==
Learn even more operators. We'll go over less than, greater than, equal to, and all of their variations. We'll go into how the double and triple-equal signs differ and which one we should use.
We have more operators to cover, but I promise this is it!
<
| >
These two operators are used to compare the value of numbers. They result in true
or false
and are often used in if-statements. >
means greater than and <
means less than.
Create a free account to access the full course.
By signing up, you agree to Educative's Terms of Service and Privacy Policy