11 - Double Equals Versus Tripple Equals

preview_player
Показать описание
In JavaScript, == and === are two comparison operators, but they behave differently.

The == operator checks for equality after performing type coercion if the operands are of different types.

The === operator checks for equality without performing type coercion. It requires both the value and the type to be the same for the comparison to be true.
Рекомендации по теме