summaryrefslogtreecommitdiff
path: root/lib/internal/console/constructor.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/internal/console/constructor.js')
-rw-r--r--lib/internal/console/constructor.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/internal/console/constructor.js b/lib/internal/console/constructor.js
index b00707d1fd..5041abfd4d 100644
--- a/lib/internal/console/constructor.js
+++ b/lib/internal/console/constructor.js
@@ -494,7 +494,7 @@ const consoleMethods = {
if ((primitive && properties) || !hasOwnProperty(item, key))
map[key][i] = '';
else
- map[key][i] = item == null ? item : _inspect(item[key]);
+ map[key][i] = _inspect(item[key]);
}
}
}