From 9abee075ad40c59bd8e9ddf4d496c5ebabdab5da Mon Sep 17 00:00:00 2001 From: Anna Henningsen Date: Sat, 7 Sep 2019 19:09:17 +0200 Subject: [PATCH] doc: mention unit for process.hrtime.bigint() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The example states this already, but I would have expected this to be part of the description, too. PR-URL: https://github.com/nodejs/node/pull/29482 Reviewed-By: Colin Ihrig Reviewed-By: Michaƫl Zasso Reviewed-By: David Carlier Reviewed-By: Rich Trott Reviewed-By: Ben Noordhuis Reviewed-By: Benjamin Gruenbaum Reviewed-By: James M Snell Reviewed-By: Luigi Pinca --- doc/api/process.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/process.md b/doc/api/process.md index 0c2f61d16e46de..778abbb903417d 100644 --- a/doc/api/process.md +++ b/doc/api/process.md @@ -1339,7 +1339,7 @@ added: v10.7.0 * Returns: {bigint} The `bigint` version of the [`process.hrtime()`][] method returning the -current high-resolution real time in a `bigint`. +current high-resolution real time in nanoseconds as a `bigint`. Unlike [`process.hrtime()`][], it does not support an additional `time` argument since the difference can just be computed directly