Commit 1cd48c7a authored by Xavi Magrinyà's avatar Xavi Magrinyà Committed by Fedor Indutny
Browse files

console: console.dir() accepts options object



This features comes from the need of adding extra options when displaying
the object using console.dir().

console.dir() accepts now a second parameter that is passed to util.inspect()
in order to provide extra options to the output. These options are: depth, color
and showHidden. More information about these options in util.inspect() documentation.

Signed-off-by: default avatarFedor Indutny <fedor@indutny.com>
parent e00cafa3
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment