mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
console: remove dead code
This check is always truthy. Thus, it's removed. Signed-off-by: Ruben Bridgewater <ruben@bridgewater.de> PR-URL: https://github.com/nodejs/node/pull/33524 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
This commit is contained in:
@@ -492,7 +492,7 @@ const consoleMethods = {
|
||||
if (setIter)
|
||||
tabularData = previewEntries(tabularData);
|
||||
|
||||
const setlike = setIter || (mapIter && !isKeyValue) || isSet(tabularData);
|
||||
const setlike = setIter || mapIter || isSet(tabularData);
|
||||
if (setlike) {
|
||||
const values = [];
|
||||
let length = 0;
|
||||
|
||||
Reference in New Issue
Block a user