Tail Call Optimization implementation in Javascript Engines : <p>As of February 2019 in Chrome Version <code>71.0.3578.98</code> on Mac
, the following program throws  <code>Uncaught RangeError: Maximum call stack size exceeded error.</code> at a count of <code>16516</code>.</p>

<pre><code>const a = x =&gt; {
  console.log(x)
  a(x + 1)
}

a(1)
</code></pre>

<p>I've done quite a bit of Googling, but wasn't able to find any articles discussing Chrome or other browser support for Tail Call Optimization (TCO) or any future plans to implement it. </p>

<p>My two questions are:</p>

<ol>
<li>Is TCO currently supported in Chrome or any other browser or Javascript Engine</li>
<li>Are there plans to implement TCO in the near future in any Javascript Engine</li>
</ol>

<p>The posts that I've found are mostly old (2016 or earlier) or simply confusing. e.g. <a href="https://www.chromestatus.com/feature/5516876633341952" rel="noreferrer">https://www.chromestatus.com/feature/5516876633341952</a></p>
