Logical OR Operator Quiz
Multiple Choice Easy
Question
What does `false || true` evaluate to?
Hint
OR returns true if at least one side is true.
Explanation
The || (OR) operator returns true if at least one operand is true. false || true evaluates to true because the second operand is true. OR only returns false when both operands are false.
Related Resources
Related Lessons
- Boolean Logic
Learn about boolean logic and operators.
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.