Question d’entretien chez Yelp

In Javascript, what is the === symbol?

Réponse à la question d'entretien

Utilisateur anonyme

10 juin 2010

The triple equals, also found in PHP, it compares the type AND the value. For instance, if you need to check if a function is returning the boolean false or the number 0 you need to use ===, since the number 0 equates to false if you use ==.