DEV Community

raghuncs
raghuncs

Posted on

Is this a case of recursion?

function a(){
b();
}
function b(){
a();
}
b();

Top comments (1)

Collapse
 
smammar profile image
SMAmmar

I think not, cause because in recursion the function call itself again and again.
But in this scenario func b is calling a.So in my opinion it is not a recursive case.