Skip to main content
method Console.group
private
Console.group(...data: any[]): void
Deprecated

Creates a new inline group in the console, indenting subsequent console messages

Examples

Example 1

console.group('Group 1');
console.log('Inside group 1');
console.groupEnd();

Parameters

<span>...data</span>: any[]

Return Type

void
Back to top