Revature interview question

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

Interview Answer

Anonymous

19 Oct 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.