Pergunta de entrevista da empresa Yelp

In Javascript, what is the === symbol?

Resposta da entrevista

Sigiloso

10 de jun. de 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 ==.