You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
doc: are os.uptime() returned type and remark correct? #12291
Currently, both
os.uptime()andprocess.uptime()return number with fractional seconds on Windows:However, their docs are different here:
https://github.com/nodejs/node/blame/7a5d07c7fbd43f3645d7f707fd6a98f2a251bdbd/doc/api/os.md#L372-L384
https://github.com/nodejs/node/blame/47f8f7462fb198aa27ede602c43786bdbfda37a2/doc/api/process.md#L1662-L1671
Are
os.uptime()returned typeintegerand*Note*outdated or just OS-dependent?