Skip to main content
method Console.countReset
Console.countReset(label?: string): void
Deprecated

Resets the internal counter specific to label.

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

Parameters

optional
label: string = 'default'

The display label for the counter.

Return Type

void
Back to top