Home
My Highlights
Discover
Sign up
Recursion and stack
javascript.info
As we can see from the illustrations above, recursion depth equals the maximal number of context in the stack. A partial case of this is when a function calls itself. That’s called recursion. Recursion is usually shorter The information about the process of execution of a running function is stored
4 Users
0 Comments
57 Highlights
2 Notes
Top Highlights
As we can see from the illustrations above, recursion depth equals the maximal number of context in the stack.
A partial case of this is when a function calls itself. That’s called recursion.
Recursion is usually shorter
The information about the process of execution of a running function is stored in its execution context.
When a function makes a nested call, the following happens:
Domain
javascript.info
Ready to highlight and find good content?
Glasp is a social web highlighter that people can highlight and organize quotes and thoughts from the web, and access other like-minded people’s learning.
Start Highlighting