Browse files

docs: console.dir() prints to stdout, not stderr

  • Loading branch information...
1 parent 9b672bc commit 407ecc6b5f9db2b0008530651f1b9b773de3a2b3 @bnoordhuis bnoordhuis committed Mar 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 doc/api/stdio.markdown
@@ -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)

0 comments on commit 407ecc6

Please sign in to comment.