---
hide_title: false
hide_table_of_contents: false
pagination_next: null
pagination_prev: null
---

# console.group()

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

## Syntax

```js
group()
group(label)
```

### Parameters

- `label` __optional__
  - : Label for the group.

### Return value

`undefined`.
