MCPcopy Index your code
hub / github.com/nodejs/node / countReset

Function countReset

lib/internal/console/constructor.js:522–530  ·  view source on GitHub ↗
(label = 'default')

Source from the content-addressed store, hash-verified

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) {

Callers

nothing calls this directly

Calls 3

traceFunction · 0.85
hasMethod · 0.65
deleteMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…