method Console.groupCollapsed
Jump to headingConsole.groupCollapsed(...data: any[]): void
Creates a new inline group in the console that is initially collapsed
Examples Jump to heading
Jump to heading
Example 1
Example 1
console.groupCollapsed('Details');
console.log('Hidden until expanded');
console.groupEnd();
Parameters Jump to heading
Jump to heading<span>...data</span>: any[]
Return Type Jump to heading
void