mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-10-28 06:53:42 +08:00
Resolve the conflicts with main's process.features value, the WebCrypto dynamic types, the NODE_COMPAT_VERSION import and the symbol.declarations API. Renumber this branch's corpus programs to 6420-6429, write the new limitations partial one sentence per line, and regenerate the compatibility outputs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
6 lines
187 B
TypeScript
6 lines
187 B
TypeScript
// @exit: 5
|
|
// process.exit() without an argument keeps process.exitCode.
|
|
process.exitCode = 5;
|
|
process.on("exit", (code) => console.log("exit", code, process.exitCode));
|
|
process.exit();
|