Contact: aviboots(AT)netvision.net.il
40,769 questions
53,151 answers
573 users
function sum(n1, n2, n3, n4, n5, n6) { return n1 + n2 + n3 + n4 + n5 + n6; } const arr = [34, 2, 9, 1, 8, 70]; console.log(sum(...arr)); /* run: 124 */