(0 == '0') // true (0 === '0') // false ('' == 0 ) // true, the string will implicitly be converted to an integer ('' === 0 ) // false, no implicit cast is being made