4 ms·
Until ES6 which introduces Tail Call Optimization, you can use trampolines. Small summary code: http://paste.ubuntu.com/24568118/ http://paste.ubuntu.com/24568
by holmberd 9y ago
Until ES6 which introduces Tail Call Optimization, you can use trampolines.
Small summary code:
http://paste.ubuntu.com/24568118/ http://paste.ubuntu.com/24568118/
- devrandomguy 9y agoTrampoline would make a nice addition to Ramda. Unless I'm missing it under an unexpected name? http://ramdajs.com/ http://ramdajs.com/