method Console.countReset
Jump to headingConsole.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 Jump to heading
optional
Jump to headinglabel: string = 'default'
The display label for the counter.
Return Type Jump to heading
void