Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
  • Loading branch information
deokjinkim committed Mar 9, 2025
commit ad1f9185fa0083cbff6e898677aa03ee332c6cd7
2 changes: 1 addition & 1 deletion doc/api/util.md
Original file line number Diff line number Diff line change
Expand Up @@ -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])`

<!-- YAML
added: v22.9.0
Expand Down