Full threadholmberd·Until ES6 which introduces Tail Call Optimization, you can use trampolines.Small summary code: http://paste.ubuntu.com/24568118/View on HN