Unlike many programming languages JavaScript has both a double equals (==) and a triple equals (===) equality operator. For the most part these two operators work exactly the same, but the double equals operator converts the types of the objects being compared to the same type. This sounds like a good thing at first, but it can cause some strange bugs to occur when comparing certain objects/types. Because of this the triple equals operator should almost always be used, except in the case of checking if an object is null or undefined.
== vs === Article: https://blog.webdevsimplified.com/202...
Twitter:
/ devsimplified
GitHub:
https://github.com/WebDevSimplified
CodePen:
https://codepen.io/WebDevSimplified
#JavaScript #WebDevelopment #Programming
Nesta página do site você pode assistir ao vídeo on-line JavaScript == VS === duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Web Dev Simplified 24 Janeiro 2019, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 48,591 vezes e gostou 2.1 mil espectadores. Boa visualização!