Skip to content

Commit 9abee07

Browse files
addaleaxBridgeAR
authored andcommitted
doc: mention unit for process.hrtime.bigint()
The example states this already, but I would have expected this to be part of the description, too. PR-URL: #29482 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: David Carlier <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 4a5ba60 commit 9abee07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/process.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1339,7 +1339,7 @@ added: v10.7.0
13391339
* Returns: {bigint}
13401340

13411341
The `bigint` version of the [`process.hrtime()`][] method returning the
1342-
current high-resolution real time in a `bigint`.
1342+
current high-resolution real time in nanoseconds as a `bigint`.
13431343

13441344
Unlike [`process.hrtime()`][], it does not support an additional `time`
13451345
argument since the difference can just be computed directly

0 commit comments

Comments
 (0)