Glossary: Data Structures and Algorithms in JavaScript
Recursion
Also written: recursive, recursive case
A function solving a problem by calling itself on a smaller piece of the same problem. It needs a base case to stop and works well on nested data like shop categories.