Question d’entretien chez Ensemble

What's the difference between == and ===?

Réponse à la question d'entretien

Utilisateur anonyme

24 juin 2022

The difference between == and === is that: == converts the variable values to the same type before performing comparison. This is called type coercion. === does not do any type conversion (coercion) and returns true only if both values and types are identical for the two variables being compared.

1