結果 : sum elements of an array javascript