Write a function that reverses an array without using built in .reverse(), follow up question centered around possible issues with my code and how I could make it better.
Utilisateur anonyme
I more or less wrote a reverse loop using a temp array and returned that array. My answer to the follow up question was to loop from both ends at the same time and reverse it in-place.