loveapplejy / daily-algorithm

0 stars 0 forks source link

[HackerRank] A Very Big Sum #1

Open loveapplejy opened 5 years ago

loveapplejy commented 5 years ago

https://www.hackerrank.com/challenges/a-very-big-sum/problem

loveapplejy commented 5 years ago
function aVeryBigSum(ar) {

    return ar.reduce((numA, numB) => numA + numB);
}