== (equality operator) and === (strict equality operator) are the operators to compare two operands.== operator does type conversions before comparing the values. On the other hand, the === operator doesn't perform any type conversions.=== operator returns true if two operands have the same type and same value.// `true` is converted to 1 and then compared to 1true == 1; // truetrue === 1; // false
=== to compare values.