E2open Interview Question

What is the difference between "==" and "===" in Javascript?

Interview Answer

Anonymous

Jun 14, 2024

Triple equal (===) compares both the value and datatype while double equal(==) converts value to common datatype and then compares it.