Deno.exit
🌙
手机阅读
本文目录结构
exit
-
exit(code?: number): never
-
退出 Deno 进程,可以指定退出码,若无则为 0。
Exit the Deno process with optional exit code. If no exit code is supplied then Deno will exit with return code of 0.
Deno.exit(5);
参数
- ##### Optional code: number