-
Notifications
You must be signed in to change notification settings - Fork 31.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[node:util] format
is optional in util.format
?
#45669
Comments
The same for |
Do you want to send a PR to fix this? |
The intention is to always have a |
There are two options:
|
Could @Semigradsky @VoltrexKeyva or someone else assign this issue to me? I have some ideas for a fix. |
@daltonna jsut send PR? |
I don't really believe this is an issue. Since no one picked this up, I am going to close it |
Affected URL(s)
https://nodejs.org/docs/latest-v18.x/api/util.html#utilformatformat-args
Description of the problem
By https://nodejs.org/docs/latest-v18.x/api/util.html#utilformatformat-args has required string argument
util.format
.But in examples we see:
Looks like it the same as having optional
format
argument.So it shoud be
util.format([format [, ...args]])
instead ofutil.format(format[, ...args])
.The text was updated successfully, but these errors were encountered: