tablica suma bez pętli JavaScript
var myArray = [1,2,3,4,5];
var total = eval(myArray.join("+"));
Clear Corncrake
var myArray = [1,2,3,4,5];
var total = eval(myArray.join("+"));