We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3ac227d + 35bd7a7 commit 2c11bebCopy full SHA for 2c11beb
algorithms/sorting/selection-sort/selection-sort.js
@@ -44,7 +44,7 @@ function swap(items, firstIndex, secondIndex){
44
function selectionSort(items){
45
46
var len = items.length,
47
- min;
+ min, i, j;
48
49
for (i=0; i < len; i++){
50
0 commit comments