function f() { throw new Error("ERR"); } f();