method Console.groupCollapsedConsole.groupCollapsed(...data: any[]): voidCreates a new inline group in the console that is initially collapsed ExamplesExample 1 console.groupCollapsed('Details'); console.log('Hidden until expanded'); console.groupEnd(); Parameters<span>...data</span>: any[]Return Typevoid