osUptime method

num osUptime()

Returns the Operating System uptime in number of seconds.

console.log(Deno.osUptime());

Requires allow-sys permission.

Implementation

_i2.num osUptime() => _i3.callMethod(
      this,
      'osUptime',
      [],
    );