Revature Interview Question

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

Interview Answer

Anonymous

Oct 19, 2018

== returns true if the two values are equal when they are converted to the same type. === returns true only if the two values are the same type and value.