filmov
tv
11 - Double Equals Versus Tripple Equals
Показать описание
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.
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.