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

Method composedPath

lib/internal/event_target.js:257–261  ·  view source on GitHub ↗

* @returns {EventTarget[]}

()

Source from the content-addressed store, hash-verified

255 * @returns {EventTarget[]}
256 */
257 composedPath() {
258 if (!isEvent(this))
259 throw new ERR_INVALID_THIS('Event');
260 return this[kIsBeingDispatched] ? [this[kTarget]] : [];
261 }
262
263 /**
264 * @type {boolean}

Callers 5

listenerFunction · 0.80

Calls 1

isEventFunction · 0.85

Tested by

no test coverage detected