exit method

Never exit([
  1. num? code
])

Exit the Deno process with optional exit code.

If no exit code is supplied then Deno will exit with return code of 0.

In worker contexts this is an alias to self.close();.

Deno.exit(5);

Implementation

_i2.Never exit([_i2.num? code]) => _i3.callMethod(
      this,
      'exit',
      [code ?? _i6.undefined],
    );