DEV Community

Mohammad Shah Alam
Mohammad Shah Alam

Posted on

AUTOMATIC TYPE CONVERSION

console.log(8 * null); // output= 0
and
console.log(8 * undefined); // output = NaN
but
console.log(null == undefined); // output =true
why????

Top comments (0)