← Back to release summary

Tail calls elimination (ES6)

Category
JavaScript
Type
New or changed feature
Status
No longer pursuing (Chrome No longer pursuing)
Intent stage
None

Summary

Guarantee "no stack consumption" for function invocations in tail call positions.

Standards & signals

Ecosystem

Docs: https://en.wikipedia.org/wiki/Tail_call https://youtu.be/PSGEjv3Tqo0?t=698 https://v8.dev/blog/modern-javascript

View on chromestatus.com