-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
The original util.inspect always looks wether an object has the
inspect property defined as a function. If it is, then it calls it and
prints the result instead of the literal representation.
Classes like Buffer have inspect defined so when you do:
console.log( { some: Buffer(2) } )you get:
{ some: <Buffer d0 c7> }
I think eyes should respect this, or at least have an option to
do so. The style applied should be the other style, since what
inspect returns is often not a literal representation.
Metadata
Metadata
Assignees
Labels
No labels