1
Reply

Difference between == and === in javascript?

Sayeed Ahmed

Sayeed Ahmed

Oct 06, 2016
383
0

    0 == false // true 0 === false // false, because they are of a different type 1 == "1" // true, automatic type conversion for value only 1 === "1" // false, because they are of a different type 1 === 1 // true, because they are strictly same type null == undefined // true null === undefined // false '0' == false // true '0' === false // false

    kakku singh
    March 16, 2017
    0