Wrote a function in TypeScript to reverse an array of characters mutatively.
This way I can track what I've done and what I need to do.