title: Tail Recursion optimization for JavaScript?
body: <p>My apologies to everyone for previous versions of this being vague.  Someone has decided to have pity on the new girl and help me rewrite this question - here's an update that I hope will clear things up (and, thanks to all those who have been so generous with answers so far):</p>
  
  <hr>
  
  <p><strong>The Problem</strong>  </p>
  
  <p>I'm a new computer science student, in my first year at Uni.  For the final project for my Algorithms class, we can pick any language we would like and implement a "refinement"/"efficiency" algorithm that is found natively (internally?) in another language, but missing in the language we pick.  </p>
  
  <p>We just recently studied recursion in class and my professor briefly mentioned that JavaScript does not implement <strong>Tail Recursion</strong>.  From my research online, the new ECMA script 6 specification includes this feature, but it's not in any(/most?) JavaScript versions/engines at present? (sorry if I'm not sure which is which... I'm new at this).</p>
  
  <ul>
  <li><p>I did find a few interesting posts like <a href="http://taylodl.wordpress.com/2013/06/07/functional-javascript-tail-call-optimization-and-trampolines/" rel="nofollow noreferrer">this</a>.</p></li>
  <li><p>And another <a href="https://stackoverflow.com/questions/3660577/are-any-javascript-engines-tail-call-optimized">Stack Overflow question: https://stackoverflow.com/questions/3660577/are-any-javascript-engines-tail-call-optimized</a></p></li>
  <li><p>And finally, what is a really cool ECMA Script 6 emulator called <a href="http://bbenvie.com/articles/2013-01-06/JavaScript-ES6-Has-Tail-Call-Optimization" rel="nofollow noreferrer">Continuum</a></p></li>
  </ul>
  
  <p>My assignment is to provide 2 options for (coding a) <strong>WORK AROUND</strong> to the feature that is lacking.  </p>
  
  <p>So, my question is... does anyone, far more intelligent and experienced than I, have any thoughts or examples on how I might implement a:</p>
  
  <p><strong>WORK AROUND</strong> for the lack of Tail Recursion Optimization?</p>