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 <jasnell@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
  • Loading branch information
RaisinTen authored and aduh95 committed Jan 18, 2021
1 parent 887f199 commit b003643
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 b003643

Please sign in to comment.