add up numbers reduce js code example Example: js reduce concat numbers sum = tot.reduce((a, n) => (a + Number(n)), 0);