Commit 55ff0ad
docs: fixed misleading comment about the array method (forEach instead of reduce) used in AverageMean.js (TheAlgorithms#1727)
* docs: fixed misleading comment about the array method (forEach instead of reduce) used in AverageMean.js
* fix: optimized AverageMean.js by removing redundant comments and unnecessary operations.
* Update Maths/AverageMean.js
Co-authored-by: Lars Müller <34514239+appgurueu@users.noreply.github.com>
---------
Co-authored-by: Hridyanshu7 <himank7794@gmail.com>
Co-authored-by: Lars Müller <34514239+appgurueu@users.noreply.github.com>1 parent ff314a2 commit 55ff0ad
1 file changed
+1
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
| 16 | + | |
21 | 17 | | |
22 | 18 | | |
23 | 19 | | |
0 commit comments