You are viewing a single comment's thread. Return to all comments →
Another proposal with a forEach (like for the simple array challenge) :
let result = 0; ar.forEach((value) => result += value) return result;
A Very Big Sum
You are viewing a single comment's thread. Return to all comments →
Another proposal with a forEach (like for the simple array challenge) :