結果 : sum all elements of an array javascript