// Complete the aVeryBigSum function below.
function aVeryBigSum(ar) {
return ar.reduce((a, b) => a + b);
}
A Very Big Sum
October 31, 2019 • ☕️ 1 min read
algorithm/hackerrank
October 31, 2019 • ☕️ 1 min read
algorithm/hackerrank
// Complete the aVeryBigSum function below.
function aVeryBigSum(ar) {
return ar.reduce((a, b) => a + b);
}