OneCompiler

recursion

154

let x;

function recursion(x){
console.log(x)
if(x==43){
return;
}
recursion(x+1)
}
recursion(x)