Expedia Group interview question

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

Interview Answer

Anonymous

20 Jun 2017

Both are comparison operators === is a strict equality operator therefore 42 === "42" prints false, whilst == is a loose equality operator therefore 42 == "42" prints true.