Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

165
Visualizações
The difference between operators == and === in JavaScript

Everyone who come across comparison of objects in JavaScript struggle a lot with this topic because this syntax(===) is not represented in any other popular languages. They only have == and that’s it.

The problem is that I can’t really understand the difference between === and == and the purpose of it. We don’t have anything like that in any other popular languages like python, Java or C++.

I would like to clearly understand the pros and cons of using === in my code if you have any useful articles or other pieces of information please share.

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

Basically, the only real difference is that === includes the type in the comparison; whereas == is just the value.

"6" == 6

Would be true, while:

"6" === 6

Would be false

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda