function throwFunction() { throw new Error("Failing with error foobar"); } throwFunction();