Computes the mean of the values in array.
array
5.11.0
mean([4, 2, 8, 6])// => 5 Copy
mean([4, 2, 8, 6])// => 5
The array to iterate over.
Returns the mean.
Computes the mean of the values in
array
.Since
5.11.0
Example