Javascript – minIndex always = i even after changing its value multiple times?
i'm new to javascript and programming (3 months) and am trying to make a sorting algorithm visualizer like the ones you see on youtube. i had an issue where the for loops usually used were just way to quick to…