Skip to content

Instantly share code, notes, and snippets.

@alexitaylor
Created July 26, 2017 20:38
Show Gist options
  • Save alexitaylor/0dcb665a03bea83e8d588593db1540bc to your computer and use it in GitHub Desktop.
Save alexitaylor/0dcb665a03bea83e8d588593db1540bc to your computer and use it in GitHub Desktop.
Are you curious how many recursive calls you can make on your JavaScript engine?
var i=0;
function computeMaxCallStackSize() {
i++;
computeMaxCallStackSize();
}
computeMaxCallStackSize();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment