Prometheus Group interview question

Using a programming language of your choice, write a function to reverse the order of terms in an array.