Additional Recursion Learning Materials

I’ve just managed to pass the challenge on recursion in JavaScript. However, I feel like I don’t understand it very well so I’m looking for advice on how/where to learn about this concept. Thanks!

Try this and see if you understand the concept.

1 Like

I just worked through the 2nd one and things are starting to click. I had problems imagining how the function can return anything at all if it just calls itself. But now, I see that the function first goes all the way down to the base case and then works it’s way up. Still a hard concept to grasp but I’m getting the hang of it.