1
2
3
let x = Error("hi");
console.log(x.stack);
throw x;