Selection Sort (Implementation)
(Reading time: 3 minutes)
We'll cover the following...
First, we create a function that receives the array we want to sort as an argument.
Press + to interact
function selectionSort(array) {}
Then, we loop over our array. We ...