How to keep the loop after reload in chrome console?
<p>I put a code will reload the current page in chrome console.</p>

<p>eg..</p>

<pre><code>(function myLoop (i) {          
   setTimeout(function () {   
      console.log(i);
      if (--i) myLoop(i);      
   }, 3000)
})(10);
</code></pre>

<p>After running above code, the loop runs only one time and the console reloaded.</p>

<p>how can i do this?</p>