Deno.exitExit 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); function exit(code?: number): never;§exit(code?: number): never[src]§Parameters§code?: number optional[src]§Return Type§never[src]