beginner
Reverse a String
Write a function that accepts a string and returns the string reversed.
📝 Contenu du Prompt
Create a function named reverseString that takes a single string argument. The function should return the string with its characters in reverse order. For example, if the input is 'hello', the output should be 'olleh'. Do not use built-in reverse functions if possible; try using a loop.