title: how do I create an infinite loop in JavaScript
body: <p>I want to create an infinite loop in JavaScript. </p>
  
  <p>What are some ways to achieve this:</p>
  
  <p>eg</p>
  
  <pre><code>for (var i=0; i&lt;Infinity; i++) {}
  </code></pre>