結果 : sum all the elements in an array javascript