MCPcopy Index your code
hub / github.com/nodejs/node / regress_string

Function regress_string

deps/v8/test/mjsunit/switch.js:155–165  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

153
154// Test for regression
155function regress_string(value) {
156 var json = 1;
157 switch (typeof value) {
158 case 'object':
159 break;
160
161 default:
162
163 }
164 return json;
165};
166assertEquals(1, regress_string('object'), 'regression-string');
167
168function f5(x) {

Callers 1

switch.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…