Pergunta de entrevista da empresa Parangat Technologies

General React question. How to reverse a string.