Update average.md

This commit is contained in:
Rohit Tanwar
2018-01-27 10:38:26 +05:30
committed by GitHub
parent 7fd1a87d47
commit 159d84e95e

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.