(x)
| 283 | |
| 284 | |
| 285 | function 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 | |
| 306 | assertEquals(0, continue_from_nested_catch(0)); |
| 307 | assertEquals(1, continue_from_nested_catch(1)); |
no outgoing calls
no test coverage detected
searching dependent graphs…