mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
feat(curriculum): adding review JS content to prep exam review page (#57427)
Co-authored-by: Zaira <33151350+zairahira@users.noreply.github.com> Co-authored-by: Dario-DC <105294544+Dario-DC@users.noreply.github.com>
This commit is contained in:
@@ -3279,7 +3279,8 @@
|
||||
"review-javascript": {
|
||||
"title": "JavaScript Review",
|
||||
"intro": [
|
||||
"Review the JavaScript concepts to prepare for the upcoming quiz."
|
||||
"Before you take the JavaScript prep exam, you will need to review first.",
|
||||
"Open up this page, to review all of the concepts taught including variables, strings, booleans, functions, objects, arrays, debugging, working with the DOM and more."
|
||||
]
|
||||
},
|
||||
"kagw": { "title": "258", "intro": [] },
|
||||
|
||||
+2847
-1
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -26,7 +26,7 @@ In the above example, the `findFactorial` function is called recursively until `
|
||||
|
||||
- Recursion allows you to handle something with an unknown depth, such as deeply nested objects/arrays, or a file tree.
|
||||
- A call stack is used to keep track of the function calls in a recursive function. Each time a function is called, it is added to the call stack. When the base case is reached, the function calls are removed off the stack.
|
||||
- - You should carefully define the base case as calling it indefinitely can cause your code to crash. This is because the recursion keeps piling more and more function calls till the system runs out of memory.
|
||||
- You should carefully define the base case as calling it indefinitely can cause your code to crash. This is because the recursion keeps piling more and more function calls till the system runs out of memory.
|
||||
- Recursions find their uses in solving mathematical problems like factorial and Fibonacci, traversing trees and graphs, generating permutations and combinations and much more.
|
||||
|
||||
# --assignment--
|
||||
|
||||
Reference in New Issue
Block a user