diff --git a/lib/internal/console/constructor.js b/lib/internal/console/constructor.js index af0874c3b29..12dcee7c771 100644 --- a/lib/internal/console/constructor.js +++ b/lib/internal/console/constructor.js @@ -492,7 +492,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]); } } }