err.stack

var err = new Error();
console.log( err.stack );