title: Speed up a recursive function in javascript
body: <p>Is there any way to speed up the execution of this recursive function and keeping it recursive?</p>
  
  <pre><code>var printDecreased = function(z) {
      console.log(z);
  
      if (z &gt; 0) {
          printDecreased(z-1);
      }
  };
  
  printDecreased(50);
  </code></pre>
  
  <p>Since this has a single recursive call I don't think there are many ways to speed up it</p>