function reverseString (string) {
   let revString = "";
   for(let i=string.length-1 ; i>=0 ; i--) {
      revString += string[i];
   }
   return revString;
}
//* 7. Define a function, as a function declaration, reverseString that takes a string, reverses the characters, and returns it. For example, reverseString('rockstar'); would return the string "ratskcor".
7. Define a function, as a function declaration, reverseString that takes a string, reverses the characters, and returns it. For example, reverseString('rockstar'); would return the string "ratskcor".
7 . Define a function as a function declaration reverseString that takes a string reverses the characters and returns it . For example reverseString ( ' rockstar ' ) ; would return the string " ratskcor " .
function reverseString (string) {
   let revString = "";
   for(let i=string.length-1 ; i>=0 ; i--) {
      revString += string[i];
   }
   return revString;
}
function reverseString ( string ) { let revString = "" ; for ( let i = string . length - 1 ; i >= 0 ; i -- ) { revString += string [ i ] ; } return revString ; }
7.
7 .