Skip to content

Instantly share code, notes, and snippets.

@jugglinmike
Last active January 22, 2016 18:32
Show Gist options
  • Save jugglinmike/5d8607d41b75ef33b0b1 to your computer and use it in GitHub Desktop.
Save jugglinmike/5d8607d41b75ef33b0b1 to your computer and use it in GitHub Desktop.
Excellent
var src = '';
var max = 300000;
var idx, exception;
for (idx = max; idx > 0; --idx) {
src += 'eval(';
}
for (idx = max; idx > 0; --idx) {
src += ')';
}
try {
eval(src);
} catch (e) {
exception = e;
}
print(exception);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment