let numeros =[10,50,30,70,300,1060,560,1000]; let num = numeros.reduce((acumulador,elemento)=>{ return acumulador+ elemento; }); console.log(num);
To embed this project on your website, copy the following code and paste it into your website's HTML: