There is a discrepancy between how the docs say util.format() works, and what really happens. The docs state:
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.
However, only objects and symbols actually use util.inspect(). The required change is trivial, and I think we should bring behavior into line with what the docs say, but this is a slightly breaking change (there is at least one test that fails).
Originally reported in #931
There is a discrepancy between how the docs say
util.format()works, and what really happens. The docs state:However, only objects and symbols actually use
util.inspect(). The required change is trivial, and I think we should bring behavior into line with what the docs say, but this is a slightly breaking change (there is at least one test that fails).Originally reported in #931