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

Function continue_from_catch

deps/v8/test/mjsunit/try.js:176–190  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

174
175
176function continue_from_catch(x) {
177 x--;
178 var cont = true;
179 while (cont) {
180 try {
181 x++;
182 if (false) return -1;
183 cont = false;
184 continue;
185 } catch (o) {
186 x--;
187 }
188 }
189 return x;
190}
191
192assertEquals(0, continue_from_catch(0));
193assertEquals(1, continue_from_catch(1));

Callers 1

try.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…