Skip to content

Commit db1f06f

Browse files
authored
Fixed comments on bubbleSort.js
I wrote // Output: 9 instead of [9, 5, 4, 3]. Better fix it 😅
1 parent 47ff3a3 commit db1f06f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sortingAlgo/bubbleSort/bubbleSort.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ function bubbleSort(arr) {
1414
return arr;
1515
}
1616
}
17-
console.log(bubbleSort([4, 5, 9, 3])); // Output: 9
17+
console.log(bubbleSort([4, 5, 9, 3])); // Output: [9, 5, 4, 3]

0 commit comments

Comments
 (0)