Skip to content

Glossary: JavaScript Basics

Logical operators

Also written: &&, ||, !, and, or, not

Operators that combine booleans: `&&` (and) is true when both sides are, `||` (or) when at least one is, and `!` (not) flips true and false.

Where the book teaches it

Related terms

TruthyFalsyOperator