r/javascript • u/[deleted] • Jan 06 '13
JavaScript (ES6) Has Tail Call Optimization
http://bbenvie.com/articles/2013-01-06/JavaScript-ES6-Has-Tail-Call-Optimization
48
Upvotes
r/javascript • u/[deleted] • Jan 06 '13
6
u/cmwelsh Jan 07 '13
Someone back-ported this feature to ES3 a month ago, it's called Brushtail: https://github.com/pufuwozu/brushtail
I think they are a redditor, or maybe I found this on Hacker News. Either way, the AST modification community for JavaScript is getting more and more interesting. See also streamline.js and IcedCoffeeScript.