To find the average of an array in JavaScript, calculate the sum of the elements and divide the sum by the length of the array.
確定! 回上一頁