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;
Seems like cookies are disabled on this browser, please enable them to open this website
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) :