Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.
Well done!
You have completed (UPI) Chapter 6: Functions in JavaScript!
Instruction
Recursive Invocations
Functions can call other functions. In real applications, this is often the case.
A particular situation occurs when they call themselves. This is called a recursive invocation. Of course, this implies the danger of infinite loops. You must change something in the arguments to avoid this hurdle.
Typically, the need for such recursive calls arises when an application handles tree structure...