Recursion needs a stop condition
stopCondition in order to exit the recursion.
The original variable must be passed on to the recursive function so it becomes stored.
Increasing the Maximum Recursion Depth
This modified text is an extract of the original Stack Overflow Documentation created by following contributors
and released under CC BY-SA 3.0