Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/nodejs/node
/ target
Method
target
lib/internal/event_target.js:190–194 ·
view source on GitHub ↗
* @type {EventTarget}
()
Source
from the content-addressed store, hash-verified
188
* @
type
{EventTarget}
189
*/
190
get target() {
191
if
(!isEvent(this))
192
throw
new
ERR_INVALID_THIS(
'Event'
);
193
return
this[kTarget];
194
}
195
196
/**
197
* @
type
{EventTarget}
Callers
1
target
Function · 0.45
Calls
1
isEvent
Function · 0.85
Tested by
no test coverage detected