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

Method currentTarget

lib/internal/event_target.js:199–203  ·  view source on GitHub ↗

* @type {EventTarget}

()

Source from the content-addressed store, hash-verified

197 * @type {EventTarget}
198 */
199 get currentTarget() {
200 if (!isEvent(this))
201 throw new ERR_INVALID_THIS('Event');
202 return this[kIsBeingDispatched] ? this[kTarget] : null;
203 }
204
205 /**
206 * @type {EventTarget}

Callers

nothing calls this directly

Calls 1

isEventFunction · 0.85

Tested by

no test coverage detected