Please enable JavaScript to use CodeHS

AP CSA: CON-1.F.3

CodeHS Lessons

When the result of a logical expression using && or || can be determined by evaluating only the first Boolean operand, the second is not evaluated. This is known as short-circuited evaluation.

9.5 Compound Boolean Expressions
9.5 Compound Boolean Expressions
3.5 Compound Boolean Expressions
4.14 Short-Circuit Evaluation
2.13 Short-Circuit Evaluation