doc, util, console: clarify ambiguous docs · nodejs/node@7f6f1c2 · GitHub
Skip to content

Commit 7f6f1c2

Browse files
nattelogMylesBorins
authored andcommitted
doc, util, console: clarify ambiguous docs
Add clarification to the documentation on util.format() and console.log() regarding how excessive arguments are treated when the first argument is a non-format string compared to when it is not a string at all. PR-URL: #14027 Fixes: #13908 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent c5c65c8 commit 7f6f1c2

2 files changed

Lines changed: 7 additions & 8 deletions

File tree

doc/api/console.md

Lines changed: 1 addition & 3 deletions

doc/api/util.md

Lines changed: 6 additions & 5 deletions

0 commit comments

Comments
 (0)