Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/nodejs/node
/ f1
Function
f1
deps/v8/test/mjsunit/switch.js:38–43 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
36
f0();
// no errors
37
38
function
f1(x) {
39
switch (x) {
40
default:
return
"f1"
;
41
}
42
return
"foo"
;
43
}
44
45
assertEquals(
"f1"
, f1(0),
"default-switch.0"
);
46
assertEquals(
"f1"
, f1(1),
"default-switch.1"
);
Callers
1
switch.js
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected