Merge pull request #573 from kriadmin/patch-9

Update average.md
This commit is contained in:
Angelos Chalaris
2018-01-27 14:09:38 +02:00
committed by GitHub

View File

@ -1,6 +1,6 @@
### average
Returns the average of an of two or more numbers.
Returns the average of two or more numbers.
Use `Array.reduce()` to add each value to an accumulator, initialized with a value of `0`, divide by the `length` of the array.