DEV Community

Discussion on: Recursion and tail recursion with JavaScript

Collapse
 
hi_iam_chris profile image
Kristijan Pajtasev

You are right, I should make it more clear but I don't want to introduce confusion. Only the newest version of JavaScript and not all browsers support it. I just wanted to illustrate how it optimizes the whole thing, and I did it with JS because it is very easy to read.