10 lines
112 B
JavaScript
10 lines
112 B
JavaScript
function decrement(i) {
|
|
if (i == 0) {
|
|
return "Done!";
|
|
}
|
|
|
|
return decrement(i - 1);
|
|
}
|
|
|
|
decrement(1000);
|