Demo of ES6 tail call optimization with Babel and Traceur
See the result log: run.log
- factorial: Simple tail call => Both Babel and Traceur can optimize.
- fibonacci: CPS (Continuation Passing Style) => Only Traceur can optimize now.
git clone
, npm install
and npm test
.