mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-10-20 05:40:17 +08:00
- Preserve fields, accessors, added properties, and cyclic references across untyped class boundaries. - Support platform signal names and native exception handlers that resume queued work.
7 lines
209 B
JavaScript
7 lines
209 B
JavaScript
// @exit: 7
|
|
process.once("uncaughtException", (error, origin) => {
|
|
console.log("handler", error.message, origin);
|
|
throw new Error("handler failed");
|
|
});
|
|
setTimeout(() => { throw new Error("timer"); }, 1);
|