zh.javascript.info | The Modern JavaScript Tutorial | Learning library
kandi X-RAY | zh.javascript.info Summary
kandi X-RAY | zh.javascript.info Summary
The Modern JavaScript Tutorial
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of zh.javascript.info
zh.javascript.info Key Features
zh.javascript.info Examples and Code Snippets
Community Discussions
Trending Discussions on zh.javascript.info
QUESTION
ANSWER
Answered 2020-Aug-26 at 11:37It depend on how long you are planning to run this program. Your loop might go forever but the recursion one will throw an error.
All the function calls you do are placed in a stack. At some point, your stack is going to be full, causing a Stackoverflow Exception.
The stack limit depends on the browser, but pass that limit, the Recursion one will stop in an error while the loop will continue.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install zh.javascript.info
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page