Ad
  • Custom User Avatar

    OK.. I have used three variations of the some code and I am getting errors. What in the world that I am doing wrong.

    function reverseWords(s) {
    var o = '';
    for (var i = s.length - 1; i >= 0; i--)
    o += s[i];
    return o;
    }

    reverseWords("This is an example");