function foo() { throw new Error("foo"); } foo();