What will be the output of the following recursive function?
function countDownFrom(n) {
if (n === 0) {
return;
}
console.log(n);
countDownFrom(n - 1);
}
countDownFrom(3);
What will be the output of the following recursive function?
function countDownFrom(n) {
if (n === 0) {
return;
}
console.log(n);
countDownFrom(n - 1);
}
countDownFrom(3);