Evaluating chained boolean logic of And and Or by the left-most expression first.
A and B
- If
Ais false, theBis not evaluatedA or B - If
Ais true, thenBis not evaluated
Evaluating chained boolean logic of And and Or by the left-most expression first.
A and B
A is false, the B is not evaluated
A or BA is true, then B is not evaluated