Skip to content

Commit d48a9c3

Browse files
committed
console: change doc to follow major browser console doc
- changed node's console doc to follow the following spec doc - https://github.com/DeveloperToolsWG/console-object/blob/master/api.md
1 parent a3b238a commit d48a9c3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/api/console.markdown

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ In daily use, the blocking/non-blocking dichotomy is not something you
3232
should worry about unless you log huge amounts of data.
3333

3434

35-
### console.log([data][, ...])
35+
### console.log(object [, object, ...])
3636

3737
Prints to stdout with newline. This function can take multiple arguments in a
3838
`printf()`-like way. Example:
@@ -44,15 +44,15 @@ Prints to stdout with newline. This function can take multiple arguments in a
4444
If formatting elements are not found in the first string then `util.inspect`
4545
is used on each argument. See [util.format()][] for more information.
4646

47-
### console.info([data][, ...])
47+
### console.info(object [, object, ...])
4848

4949
Same as `console.log`.
5050

51-
### console.error([data][, ...])
51+
### console.error(object [, object, ...])
5252

5353
Same as `console.log` but prints to stderr.
5454

55-
### console.warn([data][, ...])
55+
### console.warn(object [, object, ...])
5656

5757
Same as `console.error`.
5858

0 commit comments

Comments
 (0)