PRACTICE / UNDERSTAND / REPEAT

JavaScript practice question

Practice equality with self-contained questions. Check your answer, then use the explanation to understand the reasoning.

1 questionAnswers explainedFree · no login

Try this question

Equality · MCQQuestion link ↗

Which operator compares both value and type without coercion?

Choose one answer
Answer & explanation

Answer: ===

`===` is strict equality. `==` may coerce types; `=` assigns a value.