deno.com
method Console.countReset
#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
>

Parameters #

optional
#label: string = 'default'

The display label for the counter.

Return Type #

void