@@ -519,9 +519,9 @@ const consoleMethods = {
519
519
520
520
const _inspect = ( v ) => {
521
521
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 ;
525
525
const opt = {
526
526
depth,
527
527
maxArrayLength : 3 ,
@@ -591,7 +591,7 @@ const consoleMethods = {
591
591
for ( ; i < indexKeyArray . length ; i ++ ) {
592
592
const item = tabularData [ indexKeyArray [ i ] ] ;
593
593
const primitive = item === null ||
594
- ( typeof item !== 'function' && typeof item !== 'object' ) ;
594
+ ( typeof item !== 'function' && typeof item !== 'object' ) ;
595
595
if ( properties === undefined && primitive ) {
596
596
hasPrimitives = true ;
597
597
valuesKeyArray [ i ] = _inspect ( item ) ;
@@ -600,7 +600,7 @@ const consoleMethods = {
600
600
for ( const key of keys ) {
601
601
map [ key ] ??= [ ] ;
602
602
if ( ( primitive && properties ) ||
603
- ! ObjectPrototypeHasOwnProperty ( item , key ) )
603
+ ! ObjectPrototypeHasOwnProperty ( item , key ) )
604
604
map [ key ] [ i ] = '' ;
605
605
else
606
606
map [ key ] [ i ] = _inspect ( item [ key ] ) ;
@@ -628,7 +628,7 @@ const iterKey = '(iteration index)';
628
628
629
629
const isArray = ( v ) => ArrayIsArray ( v ) || isTypedArray ( v ) || isBuffer ( v ) ;
630
630
631
- function noop ( ) { }
631
+ function noop ( ) { }
632
632
633
633
for ( const method of ReflectOwnKeys ( consoleMethods ) )
634
634
Console . prototype [ method ] = consoleMethods [ method ] ;
0 commit comments