JavaScript mengubah nan menjadi 0
a = a || 0 //if "a" is false (NaN included), will return 0
Gubo97000
a = a || 0 //if "a" is false (NaN included), will return 0