Frage im Vorstellungsgespräch bei SEI Novus

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

Antwort im Vorstellungsgespräch

Anonym

26. Juni 2018

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