Question d’entretien chez Revature

Q: What's the difference between == and === in Javascript?

Réponse à la question d'entretien

Utilisateur anonyme

16 juin 2022

== does conversions between types then compares. === is a strict comparison of the types, so an integer 1, does not equal a string "1"

1