diff options
-rw-r--r-- | doc/api/util.markdown | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/util.markdown b/doc/api/util.markdown index d7abeccae4..2bc6969b53 100644 --- a/doc/api/util.markdown +++ b/doc/api/util.markdown @@ -63,8 +63,8 @@ not replaced. util.format('%s:%s', 'foo'); // 'foo:%s' If there are more arguments than placeholders, the extra arguments are -converted to strings with `util.inspect()` and these strings are concatenated, -delimited by a space. +coerced to strings (for objects and symbols, `util.inspect()` is used) +and then concatenated, delimited by a space. util.format('%s:%s', 'foo', 'bar', 'baz'); // 'foo:bar baz' |