Skip to content

Instantly share code, notes, and snippets.

@jakschu
Created February 22, 2013 18:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jakschu/5015393 to your computer and use it in GitHub Desktop.
Save jakschu/5015393 to your computer and use it in GitHub Desktop.
error.stack
function a() {
document.write("inside a.\n");
return d;
}
try {
a();
} catch (e) {
document.write("<p>" + e.stack + "</p>");
// or console.log(e.stack);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment