Konwertuj funkcję Pythona na JavaScript Onlie
for i in range(len(Times)):
mini=i #To store minimum time index
for j in range(i,len(Times)):
#updating the minimum index
if(Times[mini]>Times[j]):
mini=j
#swapping the ith element with minimum element
Times[mini],Times[i]=Times[i],Times[mini]
print("Fastest to slowest order: ",Times)
Troubled Tamarin