Pregunta de entrevista de Revature

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

Respuesta de la entrevista

Anónimo

10 dic 2020

== in JavaScript is used for comparing two variables, but it ignores the datatype of variable. === is used for comparing two variables, but this operator also checks datatype and compares two values

5