Skip to content

Instantly share code, notes, and snippets.

@karenpeng
Last active August 29, 2015 14:14
foo();
var test;
function foo(){
function bar() {
test = console.trace();
}
bar();
}
console.log(test);
//it logs out the trace while test to be undefined
//is there a way to catch things from console.trace()?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment