FamilySearch.org interview question

Create a function that returns a string reversed without using built in functions and test the function as well.