DWANGO interview question

Write a function in any favorite language that to receive a string and return the reverse string.