Question d’entretien chez SEI Novus

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

Réponse à la question d'entretien

Utilisateur anonyme

26 juin 2018

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