Last active
January 7, 2017 18:18
-
-
Save JustinDFuller/36cb59736a3684e165abe011b994146d to your computer and use it in GitHub Desktop.
Console.trace
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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