diff --git a/week-1/fix/median.js b/week-1/fix/median.js index 046be3d0..c28d8dd6 100644 --- a/week-1/fix/median.js +++ b/week-1/fix/median.js @@ -1,6 +1,6 @@ -// Fix this implementation -// Start by running the tests for this function -// If you're in the week-1 directory, you can run npm test -- fix to run the tests in the fix directory +//Fix this implementation +//Start by running the tests for this function +//If you're in the week-1 directory, you can run npm test -- fix to run the tests in the fix directory function calculateMedian(list) { const middleIndex = Math.floor(list.length / 2); @@ -8,4 +8,9 @@ function calculateMedian(list) { return median; } -module.exports = calculateMedian; +//calculateMedian( 3, 3, 4, 5) +//module.exports = calculateMedian; + +// console.log(calculateMedian( 3, 3, 4, 5)) + + diff --git a/week-3/alarmclock/index.html b/week-3/alarmclock/index.html index 48e2e80d..159db274 100644 --- a/week-3/alarmclock/index.html +++ b/week-3/alarmclock/index.html @@ -4,6 +4,7 @@ +