MCPcopy 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

36f0(); // no errors
37
38function f1(x) {
39 switch (x) {
40 default: return "f1";
41 }
42 return "foo";
43}
44
45assertEquals("f1", f1(0), "default-switch.0");
46assertEquals("f1", f1(1), "default-switch.1");

Callers 1

switch.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected