Domanda di colloquio di SEI Novus

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

Risposta di colloquio

Anonimo

26 giu 2018

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