Try the same model with your own values. No checks, nothing recorded.
Back to Recursion and the call stack
Here are five small recursive functions. Type an argument, call a function, and go through its frames and its call tree one step at a time. The counters show how many calls were made and how deep the stack grew.
Call a function to push its first frame.
factorial and countdown take n up to 8. fib takes n up to 6. sum takes up to six whole numbers separated by commas. reverse takes one lowercase word of up to six letters.