3 ms·
> if such a program is, in fact, iterative, then good compilers will eliminate the tail calls and it will not use stack Well, there we go then. JS does not eli
by WJW 3y ago
> if such a program is, in fact, iterative, then good compilers will eliminate the tail calls and it will not use stack
Well, there we go then. JS does not eliminate tail calls at all in the major browsers or in Node.js. Neither do Python, Ruby, Rust, Golang and many others.