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

Function continue_from_nested_catch

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

Source from the content-addressed store, hash-verified

283
284
285function continue_from_nested_catch(x) {
286 x -= 2;
287 var cont = true;
288 while (cont) {
289 try {
290 x++;
291 try {
292 x++;
293 if (false) return -1;
294 cont = false;
295 continue;
296 } catch (o) {
297 x--;
298 }
299 } catch (o) {
300 x--;
301 }
302 }
303 return x;
304}
305
306assertEquals(0, continue_from_nested_catch(0));
307assertEquals(1, continue_from_nested_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…