https://tutorial.eyehunts.com/js/convert-nan-to-0-in-javascript-using-isnan-method-way/
Convert NaN to 0 in JavaScript | Using isNan() method OR other method