Contact: aviboots(AT)netvision.net.il
39,926 questions
51,859 answers
573 users
const arr = [6, 8, 1, 2, 5]; let sum = arr.reduce((x, y) => x + y); console.log(sum); /* run: 22 */