We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8086cb6 commit 78af0dfCopy full SHA for 78af0df
doc/api/util.md
@@ -135,6 +135,13 @@ Each argument is converted to a string using `util.inspect()`.
135
util.format(1, 2, 3); // '1 2 3'
136
```
137
138
+If only one argument is passed to `util.format()`, it is returned as it is
139
+without any formatting.
140
+
141
+```js
142
+util.format('%% %s'); // '%% %s'
143
+```
144
145
## util.inherits(constructor, superConstructor)
146
<!-- YAML
147
added: v0.3.0
0 commit comments