title: Reversing words in a string JS without using built in function
body: <p>Without using the split reverse and join functions, how would one do such a thing?</p>
  
  <p>The Problem Given: Reverse the words in a string 
  Sample Input: "Hello World"
  Sample Output: "World Hello"</p>
  
  <pre><code>&lt;script&gt;
    var newString = ""; 
    var theString = prompt("Enter a Phrase that you would like to reverse (Ex. Hello world)"); 
  
    newString = theString.split(" ").reverse().join(" ")
  
  
    document.write(newString);
  &lt;/script&gt;
  </code></pre>