JS mengurangi angka concat
sum = tot.reduce((a, n) => (a + Number(n)), 0);
florinrelea
sum = tot.reduce((a, n) => (a + Number(n)), 0);