3 ms·
Here's the state of tail-call optimisation in JavaScript: https://kangax.github.io/compat-table/es6/#test-proper_tail_calls_(tail_call_optimisation) https://ka
by richdougherty 9y ago
Here's the state of tail-call optimisation in JavaScript:
https://kangax.github.io/compat-table/es6/#test-proper_tail_calls_(tail_call_optimisation) https://kangax.github.io/compat-table/es6/#test-proper_tail_...
Discussion on this (apparently controversial!) feature:
https://github.com/kangax/compat-table/issues/819 https://github.com/kangax/compat-table/issues/819
- k__ 9y agoYes, I know about the controverse. People say it blows up the stack traces, so it should be opt-in. But it seems that Node.js and Safari have it, and as far as I know Safari uses JavaScript Core, which is also used for React-Native.