Reverse String Using While Loop In Javascript W3schools