Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
docs: console.dir() prints to stdout, not stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
bnoordhuis committed Mar 12, 2012
1 parent 9b672bc commit 407ecc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/stdio.markdown
Expand Up @@ -32,7 +32,7 @@ Same as `console.log` but prints to stderr.

## console.dir(obj)

Uses `util.inspect` on `obj` and prints resulting string to stderr.
Uses `util.inspect` on `obj` and prints resulting string to stdout.

## console.time(label)

Expand Down

0 comments on commit 407ecc6

Please sign in to comment.