Pergunta de entrevista da empresa DWANGO

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