Update standard-deviation.md

This commit is contained in:
atomiks
2017-12-13 23:02:21 +11:00
committed by GitHub
parent de32a204d2
commit ddd72538f1

View File

@ -13,4 +13,5 @@ const standardDeviation = (arr, val) =>
.reduce((acc, val) => acc + val, 0)
/ arr.length
);
// standardDeviation([10,2,38,23,38,23,21]) -> 12.298996142875
```