Comparison Operators
Comparison operators compare values and return a boolean (true or false).
Basic Comparisons
Loading JavaScript Playground...
Equality Operators
Loading JavaScript Playground...
Why Use Strict Equality?
Loading JavaScript Playground...
Comparing Strings
Loading JavaScript Playground...
Exercise: Age Verification
Check if someone is old enough to vote:
Loading JavaScript Exercise...
Exercise: Strict Equality
Use strict equality to compare values:
Loading JavaScript Exercise...
Up next · Lesson 12 of 37
Logical Operators
1 min read
11 of 37 lessons done

Ask Byte about this lesson
A private chat about this lesson. Byte has read the whole lesson, answers in seconds, and shows the section each answer comes from. Ask follow-ups in any language.
Questions & Answers
Public questions about this lesson. The AI Tutor answers right away in your language, the FreeAcademy team checks answers, and every learner can read them.

