[JSC] AI should not propagate AbstractValue relying on constant folding phase
[WebKit-https.git] / JSTests / stress / data-view-set-intrinsic-undefined-result.js
1 let setInt8 = DataView.prototype.setInt8;
2
3 function foo() {
4   new bar();
5   xyz(setInt8(0, 0));
6 }
7
8 function bar(a) {
9   if (a) {
10     return;
11   }
12   if (0 === undefined) {
13   }
14   a = + String(0);
15   foo(0);
16 }
17
18 try {
19     foo();
20 } catch { }