Logical AND Operator
Multiple Choice Easy
Question
What does `(5 > 3) && (2 < 4)` evaluate to?
Hint
AND returns true only when BOTH sides are true.
Explanation
The && (AND) operator returns true only when both operands are true. 5 > 3 is true and 2 < 4 is true, so true && true evaluates to true. If either side were false, the result would be false.
Related Resources
Related Lessons
- Conditions (if/else)
Learn how if/else conditions work.
Look up unfamiliar terms
A beginner-friendly glossary explains jargon in plain English — variables, functions, DOM, Promise, and more.
Decode error messages
Plain-English explanations of common errors — what they mean, why they happen, and how to fix them.
Build real projects
Apply what you learned by building guided projects with starter code and solutions.