A Very Big Sum

  • + 5 comments

    Just works in javascript...

    function aVeryBigSum(ar) {
        return ar.reduce((c, i) => c + i, 0);
    }