# Logical Operators

*noun*

say it: **“LOJ-ih-kul OP-er-ay-terz”** **/ˈlɒdʒɪkəl ˈɒpəreɪtərz/**

Symbols that combine true/false checks: && (and) needs both to be true, || (or) needs at least one, and ! (not) flips true and false.

## What is **Logical Operators** in JavaScript?

**Logical Operators** — and, or and not: they combine True/False checks.

```javascript
const age = 20;
const hasTicket = true;
const canEnter = age >= 18 && hasTicket;
```

## In a sentence

- “I used **logical operators**: age >= 16 && hasHelmet decides who can rent an e-bike.”

Level: Novice · [More JavaScript terms at this level](https://www.ask-codey.com/glossary?category=javascript&level=1)

Updated: November 9, 2026

## In other subjects

- [Logical Operators in C#](https://www.ask-codey.com/glossary/logical-operators-c-sharp)
- [Logical Operators in Java](https://www.ask-codey.com/glossary/logical-operators-java)
- [Logical Operators in MongoDB](https://www.ask-codey.com/glossary/logical-operators-mongodb)
- [Logical Operators in PowerShell](https://www.ask-codey.com/glossary/logical-operators-powershell)
- [Logical Operators in Python](https://www.ask-codey.com/glossary/logical-operators)

Source: https://www.ask-codey.com/glossary/logical-operators-javascript
