Codes();
Zoom out : CTRTL -
Zoom in : CTRTL +
Factorial - Recursion
Enter the Number
factorial(n)
let factorial (n) { inside factorial function if (n == 0) { check n value return 1; Recursion reached end return 1 } return n * factorial(n - 1); call factorial again factorial(val) }