> 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: countReset() method

APISummary
`countReset` resets counter used with console.count().

## Syntax

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

### Parameters

#### label

A string. If supplied, countReset() resets the count for that label to 0. If omitted, countReset() resets the default counter to 0.

### return value

None(`undefined`).

## Compatibility

**Compatibility Table**

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

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

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

**`countReset`**

reset count

