McountReset
Bun

method

Console.countReset

label?: string
): void;

Resets the internal counter specific to label.

> console.count('abc');
abc: 1
undefined
> console.countReset('abc');
undefined
> console.count('abc');
abc: 1
undefined
>
@param label

The display label for the counter.