Skip to content

Commit 2cbe61f

Browse files
committed
remove unecessary changes
1 parent c29cb9e commit 2cbe61f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lib/internal/console/constructor.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -519,9 +519,9 @@ const consoleMethods = {
519519

520520
const _inspect = (v) => {
521521
const depth = v !== null &&
522-
typeof v === 'object' &&
523-
!isArray(v) &&
524-
ObjectKeys(v).length > 2 ? -1 : 0;
522+
typeof v === 'object' &&
523+
!isArray(v) &&
524+
ObjectKeys(v).length > 2 ? -1 : 0;
525525
const opt = {
526526
depth,
527527
maxArrayLength: 3,
@@ -591,7 +591,7 @@ const consoleMethods = {
591591
for (; i < indexKeyArray.length; i++) {
592592
const item = tabularData[indexKeyArray[i]];
593593
const primitive = item === null ||
594-
(typeof item !== 'function' && typeof item !== 'object');
594+
(typeof item !== 'function' && typeof item !== 'object');
595595
if (properties === undefined && primitive) {
596596
hasPrimitives = true;
597597
valuesKeyArray[i] = _inspect(item);
@@ -600,7 +600,7 @@ const consoleMethods = {
600600
for (const key of keys) {
601601
map[key] ??= [];
602602
if ((primitive && properties) ||
603-
!ObjectPrototypeHasOwnProperty(item, key))
603+
!ObjectPrototypeHasOwnProperty(item, key))
604604
map[key][i] = '';
605605
else
606606
map[key][i] = _inspect(item[key]);
@@ -628,7 +628,7 @@ const iterKey = '(iteration index)';
628628

629629
const isArray = (v) => ArrayIsArray(v) || isTypedArray(v) || isBuffer(v);
630630

631-
function noop() { }
631+
function noop() {}
632632

633633
for (const method of ReflectOwnKeys(consoleMethods))
634634
Console.prototype[method] = consoleMethods[method];

0 commit comments

Comments
 (0)