Pergunta de entrevista da empresa IBM

What is the difference between == and === in JavaScript?

Resposta da entrevista

Sigiloso

4 de jun. de 2024

== (loose equality) compares values after type coercion. === (strict equality) compares values without type coercion (checks both value and type).