Skip to content

Instantly share code, notes, and snippets.

@gilbox
Created November 13, 2013 16:45
Show Gist options
  • Save gilbox/7452232 to your computer and use it in GitHub Desktop.
Save gilbox/7452232 to your computer and use it in GitHub Desktop.
A one-liner for a doing a quick stack trace in JavaScript
console.log((new Error('STACK TRACE')).stack);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment