結果 : sum of items in an array javascript