console.group('分组1'); console.table( [ {key1: 1,key2: 2,key3: 3}, {key1: 1,key2: 2,key3: 3}, {key1: 1,key2: 2,key3: 3} ], ['key1', 'key2'] /*可选:要显示的key,其它忽略*/ ); console.groupEnd('分组1'); //------------------------- console.groupCollapsed('分组2'); /*默认…