Logical Operators
and, or and not: they combine True/False checks.
What is Logical Operators in JavaScript?
Logical Operators — and, or and not: they combine True/False checks.
const age = 20;
const hasTicket = true;
const canEnter = age >= 18 && hasTicket;
Level: Novice · More JavaScript terms at this level
Updated