function reverse(str) { let reverseString = ""; for (let character of str) { reverseString = character + reverseString; } return reverseString }