結果 : get average of array of numbers javascript