diff --git a/lib/sys.js b/lib/sys.js index e8985d25fa..caf383400b 100644 --- a/lib/sys.js +++ b/lib/sys.js @@ -234,8 +234,8 @@ exports.inspect = function (obj, showHidden, depth, colors) { output = braces[0] + (base === '' ? '' : base + '\n ') + ' ' - + output.join('\n, ') - + (numLinesEst > 1 ? '\n' : ' ') + + output.join(',\n ') + + ' ' + braces[1] ; }