Pergunta de entrevista da empresa Revature

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

Resposta da entrevista

Sigiloso

16 de jun. de 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