Reference lesson

Operators

Calculate, compare, and combine values.

About 8 minutes

What you’ll learn

Arithmetic operators calculate values. Strict equality compares without type conversion, while logical operators combine conditions.

Try it yourself

Press Ctrl/Cmd + Enter to run.