> For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt.

# console: group() method

APISummary
`group` creates a new inline group in the console log, causing any subsequent console messages to be indented by an additional level, until console.groupEnd() is called.

## Syntax

```ts
group(label: string?): undefined;
```

### Parameters

#### label

Label for the group.

### return value

None(`undefined`).

## Compatibility

**Compatibility Table**

**Query:** `lynx-api.global.console.group`

[Source](https://github.com/lynx-family/lynx-website/tree/main/packages/lynx-compat-data/lynx-api/global/console/group.json)

| Feature | Android | HarmonyOS | iOS | macOS | Windows | Web |
| --- | --- | --- | --- | --- | --- | --- |
| group | Yes (3.2) | Yes (3.4) | Yes (3.2) | Yes (3.5) | Yes (3.5) | Yes |

**`group`**

start a console group

