Share via


groupCollapsed method

Begins a collapsible group of console output. Initially displays collapsed.

Groups can be nested.

Use groupEnd to stop adding output to the group.

 

Syntax

console.groupCollapsed(groupTitle);

Parameters

  • groupTitle [in, optional]
    Type: DOMString

Return value

This method does not return a value.

See also

console

Using the F12 Tools Console to View Errors and Status