結果 : sum of all elements in array in javascript