Step Through Complex Scripts
Now that you’ve seen how to step through a relatively simple script, you’ll see what it’s like to step through a script that’s a bit more complex. The example you’ll be looking at is a factorial program that is recursive, so it calls the same function again.
If you’re not sure what a recursive program is or how it works, then don’t worry. You don’t need to know any of that in order to follow along. Stepping through this example will help you understand recursion anyway!
Become a Member to join the conversation.