From ad1f9185fa0083cbff6e898677aa03ee332c6cd7 Mon Sep 17 00:00:00 2001 From: Deokjin Kim Date: Sun, 9 Mar 2025 22:53:26 +0900 Subject: [PATCH] doc: make first parameter optional in `util.getCallSites` `frameCount` is optional because its default value is 10. And change parameter name from `frameCountOrOptions` to `frameCount` because it's described as `frameCount` in below description. --- doc/api/util.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/util.md b/doc/api/util.md index 7f15d418be2ed5..8210f33a2a664b 100644 --- a/doc/api/util.md +++ b/doc/api/util.md @@ -450,7 +450,7 @@ util.formatWithOptions({ colors: true }, 'See object %O', { foo: 42 }); // when printed to a terminal. ``` -## `util.getCallSites(frameCountOrOptions, [options])` +## `util.getCallSites([frameCount][, options])`