Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/nodejs/node
/ assertEarlyError
Function
assertEarlyError
deps/v8/test/mjsunit/call-lhs-web-compat-early-errors.js:19–21 ·
view source on GitHub ↗
(s)
Source
from the content-addressed store, hash-verified
17
}
18
19
function
assertEarlyError(s) {
20
assertThrows(wrapInLazyFunction(s), SyntaxError);
21
}
22
23
function
assertLateError(s) {
24
assertDoesNotThrow(wrapInLazyFunction(s));
Callers
4
regexp-unicode-sets.js
File · 0.85
regexp-duplicate-named-groups.js
File · 0.85
call-lhs-web-compat-early-errors.js
File · 0.85
test_invalid
Function · 0.85
Calls
2
wrapInLazyFunction
Function · 0.85
assertThrows
Function · 0.50
Tested by
no test coverage detected