Created
December 17, 2018 04:27
-
-
Save stephenquan/c84f905e8f0492a30ede7c6c8793cfc8 to your computer and use it in GitHub Desktop.
consoleTrace.js
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 consoleTrace() { console.log(new Error()).stack.split("\n")[1]; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment