Skip to content

Commit 9559dec

Browse files
committed
unnecessary comment removed
1 parent e18f19c commit 9559dec

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

Sprint-1/fix/median.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ function calculateMedian(list) {
2424
return null;
2525
}
2626

27-
// Copy before sort (extra safety, though filter already creates new array)
2827
const sorted = [...numbers].sort((a, b) => a - b);
2928

3029
const middle = Math.floor(sorted.length / 2);

0 commit comments

Comments
 (0)