@@ -100,7 +100,7 @@ The global `console` is a special `Console` whose output is sent to
100100new Console (process .stdout , process .stderr );
101101```
102102
103- ### console.assert(value[ , message] [ , ... ] )
103+ ### console.assert(value[ , message] [ , ...args ] )
104104<!-- YAML
105105added: v0.1.101
106106-->
@@ -177,7 +177,7 @@ Defaults to `2`. To make it recurse indefinitely, pass `null`.
177177Defaults to ` false ` . Colors are customizable; see
178178[ customizing ` util.inspect() ` colors] [ ] .
179179
180- ### console.error([ data] [ , ... ] )
180+ ### console.error([ data] [ , ...args ] )
181181<!-- YAML
182182added: v0.1.100
183183-->
@@ -199,14 +199,14 @@ If formatting elements (e.g. `%d`) are not found in the first string then
199199[ ` util.inspect() ` ] [ ] is called on each argument and the resulting string
200200values are concatenated. See [ ` util.format() ` ] [ ] for more information.
201201
202- ### console.info([ data] [ , ... ] )
202+ ### console.info([ data] [ , ...args ] )
203203<!-- YAML
204204added: v0.1.100
205205-->
206206
207207The ` console.info() ` function is an alias for [ ` console.log() ` ] [ ] .
208208
209- ### console.log([ data] [ , ... ] )
209+ ### console.log([ data] [ , ...args ] )
210210<!-- YAML
211211added: v0.1.100
212212-->
@@ -260,7 +260,7 @@ leaking it. On older versions, the timer persisted. This allowed
260260` console.timeEnd() ` to be called multiple times for the same label. This
261261functionality was unintended and is no longer supported.*
262262
263- ### console.trace(message[ , ...] )
263+ ### console.trace(message[ , ...args ] )
264264<!-- YAML
265265added: v0.1.104
266266-->
@@ -284,20 +284,20 @@ console.trace('Show me');
284284 // at REPLServer.Interface._ttyWrite (readline.js:826:14)
285285```
286286
287- ### console.warn([ data] [ , ... ] )
287+ ### console.warn([ data] [ , ...args ] )
288288<!-- YAML
289289added: v0.1.100
290290-->
291291
292292The ` console.warn() ` function is an alias for [ ` console.error() ` ] [ ] .
293293
294- [ `console.error()` ] : #console_console_error_data
295- [ `console.log()` ] : #console_console_log_data
294+ [ `console.error()` ] : #console_console_error_data_args
295+ [ `console.log()` ] : #console_console_log_data_args
296296[ `console.time()` ] : #console_console_time_label
297297[ `console.timeEnd()` ] : #console_console_timeend_label
298298[ `process.stderr` ] : process.html#process_process_stderr
299299[ `process.stdout` ] : process.html#process_process_stdout
300- [ `util.format()` ] : util.html#util_util_format_format
300+ [ `util.format()` ] : util.html#util_util_format_format_args
301301[ `util.inspect()` ] : util.html#util_util_inspect_object_options
302302[ customizing `util.inspect()` colors ] : util.html#util_customizing_util_inspect_colors
303303[ web-api-assert ] : https://developer.mozilla.org/en-US/docs/Web/API/console/assert
0 commit comments