function reverseString(str) { let strList = str.split(''); let reversed = strList.reverse(); return reversed.join(''); }