Those statements are basically (as per ECMA-262 11.9.3):
0 === Number('0') 0 === Number('') '0' === ''
Those statements are basically (as per ECMA-262 11.9.3):
0 === Number('0') 0 === Number('') '0' === ''