-
-
Notifications
You must be signed in to change notification settings - Fork 34.2k
doc: minor improvements to util.md #6932
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
Conversation
| util.isArray([]); | ||
| // true | ||
| util.isArray(new Array) | ||
| util.isArray(new Array); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
when were the semicolons removed? the docs wg style guide says we should normally have them.
|
LGTM |
1 similar comment
|
LGTM |
doc/api/util.md
Outdated
| If there are more arguments passed to the `util.format()` method than the | ||
| number of placeholders, the extra arguments are coerced into strings (for | ||
| objects and symbols, `util.inspect()` is used) then concatenated to the | ||
| returned string, delimited by a space. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would "each delimited by a space" sound better here?
|
@mscdex Addressed your comments. PTAL. |
|
LGTM |
|
Landed in 435e673 |
PR-URL: #6932 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Robert Jefe Lindstaedt <[email protected]> Reviewed-By: Brian White <[email protected]>
PR-URL: nodejs#6932 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Robert Jefe Lindstaedt <[email protected]> Reviewed-By: Brian White <[email protected]>
PR-URL: #6932 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Robert Jefe Lindstaedt <[email protected]> Reviewed-By: Brian White <[email protected]>
Checklist
Affected core subsystem(s)
doc
Description of change
cc @jasnell @nodejs/documentation