Konversi JavaScript Null ke Nomor
// null is 0 when used with number
let result;
result = 4 + null;
console.log(result); // 4
result = 4 - null;
console.log(result); // 4
SAMER SAEID