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.
  • Loading branch information
RaisinTen committed Jan 15, 2021
1 parent 2ba8728 commit 563bd54
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 @@ -656,7 +656,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 563bd54

Please sign in to comment.