GLOSSARY · A WORD, UNPACKED
short-circuit evaluation
skipping the rest of an expression once its result is already determined.
A little more detail
For example, false && work() skips work because the left side already decides the result. Logical OR and nullish coalescing also evaluate their right operand only when needed. These operators can return operand values, not only true or false.
See it in practice
These lessons pair the idea with examples you can change and run.