|
@ -158,7 +158,7 @@ function formatValue(ctx, value, recurseTimes) { |
|
|
value.inspect !== exports.inspect && |
|
|
value.inspect !== exports.inspect && |
|
|
// Also filter out any prototype objects using the circular check.
|
|
|
// Also filter out any prototype objects using the circular check.
|
|
|
!(value.constructor && value.constructor.prototype === value)) { |
|
|
!(value.constructor && value.constructor.prototype === value)) { |
|
|
return value.inspect(recurseTimes); |
|
|
return String(value.inspect(recurseTimes)); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// Primitive types cannot have properties
|
|
|
// Primitive types cannot have properties
|
|
|