title: Javascript, while loop return
body: <pre><code>var i = 0;
  while(i &lt; 100){
     return "The number is " + i;
     i++;
  }
  </code></pre>
  
  <p>What is wrong with my return statement? Why can I return a string plus a variable?</p>