Skip to main content
Console.group - Web documentation
method Console.group
Private
Console.group(...data: any[]): void

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

...data: any[]

Return Type

void
Back to top