mirror of
https://github.com/denoland/deno.git
synced 2024-11-22 15:06:54 -05:00
993a1dd41a
Set the exit code to use if none is provided to Deno.exit(), or when Deno exits naturally. Needed for process.exitCode Node compat. Paves the way for #12888.
2 lines
55 B
TypeScript
2 lines
55 B
TypeScript
Deno.core.opSync("op_set_exit_code", 42);
|
|
Deno.exit();
|