Skip to content

Commit

Permalink
doc: fix percentile range in perf_hooks.md
Browse files Browse the repository at this point in the history
The value accepted by histogram.percentile may be below 1 too.

PR-URL: #36938
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Antoine du Hamel <[email protected]>
  • Loading branch information
RaisinTen authored and ruyadorno committed Jan 21, 2021
1 parent c7dd9c8 commit af0f0a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/perf_hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -760,7 +760,7 @@ The minimum recorded event loop delay.
added: v11.10.0
-->

* `percentile` {number} A percentile value between 1 and 100.
* `percentile` {number} A percentile value in the range (0, 100].
* Returns: {number}

Returns the value at the given percentile.
Expand Down

0 comments on commit af0f0a0

Please sign in to comment.