Sollicitatievraag bij SEI Novus

(JavaScript) 1. Create a function that sums the numbers of an array.

Antwoord op sollicitatievraag

Anoniem

26 jun 2018

function sum(arr) { return arr.reduce((first, next) => { return first + next }); }