Skip to main content
Version: 3.45.0

console.group()

The console.group() method creates a new inline group in the console, until console.groupEnd() is called.

Syntax​

group()
group(label)

Parameters​

  • label optional
    • : Label for the group.

Return value​

undefined.