Comparison Operators

Symbols like == and < that compare two values and answer True or False.

What is Comparison Operators in JavaScript?

Comparison Operators — Symbols like == and < that compare two values and answer True or False.

const enteredCode = "42";
const expectedCode = 42;
const matches = enteredCode === expectedCode;

Level: Novice · More JavaScript terms at this level

Updated

In other subjects