Answer:
leadHorses ← ["Justify", "Bravazo", "Good Magic", "Lone Sailor", "Tenfold", "Sporting Chance", "Diamond King", "Quip"]
Explanation:
leadHorses ← ["Justify", "Bravazo", "Good Magic", "Tenfold", "Lone Sailor", "Sporting Chance", "Diamond King", "Quip"]
tempHorse ← leadHorses[3]
tempHorse ← Tenfold
leadHorses[3] ← leadHorses[4]
leadHorses[3] ← Lone Sailor
leadHorses[4] ← tempHorse
leadHorses[4] ← Tenfold
leadHorses ← ["Justify", "Bravazo", "Good Magic", "Lone Sailor", "Tenfold", "Sporting Chance", "Diamond King", "Quip"]
Tenfold and Lone Sailor swap positions.