Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/nodejs/node
/ returnValue
Method
returnValue
lib/internal/event_target.js:266–270 ·
view source on GitHub ↗
* @type {boolean}
()
Source
from the content-addressed store, hash-verified
264
* @
type
{boolean}
265
*/
266
get returnValue() {
267
if
(!isEvent(this))
268
throw
new
ERR_INVALID_THIS(
'Event'
);
269
return
!this.#cancelable || !this.#defaultPrevented;
270
}
271
272
/**
273
* @
type
{boolean}
Callers
1
listener
Function · 0.80
Calls
1
isEvent
Function · 0.85
Tested by
no test coverage detected