1
0
dust/bench/recursion/recursion.js

10 lines
127 B
JavaScript
Raw Normal View History

function decrement(i) {
if (i == 0) {
return "Done!";
}
return decrement(i - 1);
}
2025-01-08 23:02:08 -05:00
console.log(decrement(10_000));