benjaminjohnson.me

Using trampolines to manage large recursive loops in JavaScript

In this article I talk about a nifty trick for getting around call stack overflows when using recursion in JavaScript.