add glossary/Recursion.md

This commit is contained in:
Stefan Feješ
2018-07-17 10:47:36 +02:00
parent 8c2c610f05
commit 0cc12d0d9c

3
glossary/Recursion.md Normal file
View File

@ -0,0 +1,3 @@
### Recursion
Recursion is the repeated application of a process. In JavaScript, recursion involves functions that call themselves repeatedly until they reach a base condition. The base condition breaks out of the recursion loop because otherwise the function would call itself indefinitely. Recursion is very useful when working with data structures that contain nesting where the number of levels deep is unknown.