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

Method constructor

lib/internal/event_target.js:566–568  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

564 static [kIsEventTarget] = true;
565
566 constructor() {
567 initEventTarget(this);
568 }
569
570 [kNewListener](size, type, listener, once, capture, passive, weak) {
571 if (this[kMaxEventTargetListeners] > 0 &&

Callers

nothing calls this directly

Calls 1

initEventTargetFunction · 0.85

Tested by

no test coverage detected