Skip to content

Instantly share code, notes, and snippets.

@JustinDFuller
Last active January 7, 2017 18:18
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 JustinDFuller/36cb59736a3684e165abe011b994146d to your computer and use it in GitHub Desktop.
Save JustinDFuller/36cb59736a3684e165abe011b994146d to your computer and use it in GitHub Desktop.
Console.trace
function ends () {
console.trace();
}
function middle () {
ends();
}
function begins () {
middle();
}
begins();
// Outputs:
// console-trace.js:2 console.trace
// ends @ console-trace.js:1
// middle @ console-trace.js:5
// begins @ console-trace.js:9
// window.onload @ console-trace.js:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment