BackwardsGraph needs to consider back edges as the backward's root successor
[WebKit-https.git] / JSTests / es6 / destructuring_in_catch_heads.js
1 function test() {
2
3 try {
4   throw [1,2];
5 } catch([i,j]) {
6   try {
7     throw { k: 3, l: 4 };
8   } catch({k, l}) {
9     return i === 1 && j === 2 && k === 3 && l === 4;
10   }
11 }
12
13 }
14
15 if (!test())
16     throw new Error("Test failed");
17