Created
May 9, 2020 20:57
-
-
Save baranovxyz/0c65e83ded4cff58dfd81cfd91779475 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function recursiveFn(n) { | |
if (n < 0) return true; | |
recursiveFn(n - 1); | |
} | |
recursiveFn(100000); // RangeError: Maximum call stack size exceeded |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment