Skip to content

Commit dd9e765

Browse files
committed
Clear out code
1 parent 3c02550 commit dd9e765

File tree

4 files changed

+0
-17
lines changed

4 files changed

+0
-17
lines changed

README.md

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
# Git Good
22

3-
Quinn Was HERE :)
43
The repo is designed to help people learn effective git branching strategies when working on a team.

bLAisE paScUAl.tXt

-1
This file was deleted.

ethan.txt

-1
This file was deleted.

stats.js

-14
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,3 @@
11
// Define a function called average which returns the average of a list of numbers.
22
// Define a function called median which returns the median of an array of numbers.
3-
43
// Define a function called standardDev which returns the standard deviation of an array of numbers.
5-
export const standardDev = (nums) => {
6-
const average = getAverage(nums);
7-
8-
return Math.sqrt(
9-
nums.reduce((sum, num) => sum + (num - average) ** 2) / nums.length - 1
10-
);
11-
};
12-
13-
const getAverage = (nums) => {
14-
return nums.reduce((acc, val) => acc + val, 0) / nums.length;
15-
};
16-
17-
export { getAverage };

0 commit comments

Comments
 (0)