method Console.countReset
Jump to headingConsole.countReset(label?: string): void
Resets the counter for a given label
Examples Jump to heading
Jump to heading
Example 1
Example 1
console.count('myCounter');
console.countReset('myCounter'); // Resets to 0
Parameters Jump to heading
optional
Jump to headinglabel: string
The label to reset. Defaults to 'default'
Return Type Jump to heading
void