From c50889b04510e3b2938736148a8261067d1b0eb3 Mon Sep 17 00:00:00 2001 From: Rohit Tanwar <31792358+kriadmin@users.noreply.github.com> Date: Sat, 27 Jan 2018 10:38:26 +0530 Subject: [PATCH] Update average.md --- snippets/average.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/average.md b/snippets/average.md index fff5dd5a6..5f2851a96 100644 --- a/snippets/average.md +++ b/snippets/average.md @@ -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.