diff --git a/lib/internal/console/constructor.js b/lib/internal/console/constructor.js index b00707d1fda365..5041abfd4d9f4c 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]); } } }