From f796611563cf1cf80f7a6f9099ae9e0c3ca40c5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Feje=C5=A1?= Date: Tue, 17 Jul 2018 10:47:36 +0200 Subject: [PATCH] add glossary/Recursion.md --- glossary/Recursion.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 glossary/Recursion.md diff --git a/glossary/Recursion.md b/glossary/Recursion.md new file mode 100644 index 000000000..24eb39bbd --- /dev/null +++ b/glossary/Recursion.md @@ -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.