Skip to content

Instantly share code, notes, and snippets.

@briancollins
Forked from tlrobinson/probe.js
Created March 9, 2011 00:21
Show Gist options
  • Save briancollins/861432 to your computer and use it in GitHub Desktop.
Save briancollins/861432 to your computer and use it in GitHub Desktop.
function probe() {
var count = 1;
function recurse() {
count++;
recurse();
}
try {
recurse();
} catch (e) {
}
return count;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment