(label = 'default')
| 520 | |
| 521 | // Defined by: https://console.spec.whatwg.org/#countreset |
| 522 | countReset(label = 'default') { |
| 523 | const counts = this[kCounts]; |
| 524 | if (!counts.has(label)) { |
| 525 | process.emitWarning(`Count for '${label}' does not exist`); |
| 526 | return; |
| 527 | } |
| 528 | trace(kTraceCount, kTraceConsoleCategory, `count::${label}`, 0, 0); |
| 529 | counts.delete(`${label}`); |
| 530 | }, |
| 531 | |
| 532 | group(...data) { |
| 533 | if (data.length > 0) { |