Skip to content

Commit 2f5f458

Browse files
committed
added missing function chapters
1 parent e598231 commit 2f5f458

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

en/SUMMARY.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@
4747
- [Do...While](loops/dowhile.md)
4848
- [Functions](functions/README.md)
4949
- [Higher Order Functions](functions/higher-order.md)
50+
- [Recursive Functions](functions/recursive-functions.md)
51+
- [Closures](functions/closures.md)
52+
- [Set Interval](functions/set-interval.md)
53+
- [Set Timeout](functions/set-timeout.md)
5054
- [Objects](objects/README.md)
5155
- [Properties](objects/properties.md)
5256
- [Mutable](objects/mutable.md)

en/functions/closures.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
2-
chapter: [chapter number]
3-
pageNumber: [page number]
2+
chapter: 8
43
description: Closures are a JavaScript concept that allows functions to access and remember variables from their containing scope, even after the outer function has finished running. They're vital for data encapsulation, private variables, and various design patterns in JavaScript. Closures enhance code flexibility and maintainability.
54
---
65

en/functions/recursive-functions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
2-
title: Recursive Functions in JavaScript
2+
chapter: 8
33
description: An explanation of recursive functions in JavaScript.
44
---
55

6-
# Recursive Functions in JavaScript
6+
# Recursive Functions
77

88
In JavaScript, a recursive function is a function that calls itself in order to solve a problem. Recursion is a powerful concept that can be used to solve complex problems by breaking them down into smaller, more manageable subproblems. This document provides an overview of recursive functions in JavaScript, their syntax, common use cases, and best practices.
99

0 commit comments

Comments
 (0)