Pregunta de entrevista de Fast Enterprises

Write a function on how to reverse a string?