This commit is contained in:
Charlie Moore
2021-10-04 18:49:31 -04:00
parent 199d2637cc
commit f4814ba143

View File

@ -20,7 +20,7 @@ function cycleSort (list) {
position++
}
}
// if its the same continue
// if it is the same, continue
if (position === cycleStart) {
continue
}