summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug1502090.js
blob: c7638e7e73427cb3fdcb082e8a01234e207e1d0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
function f(o) {
   var a = [o];
   a.length = a[0];
   var useless = function() {}
   var sz = Array.prototype.push.call(a, 42, 43);
   (function(){
       sz;
   })(new Boolean(false));
}
for (var i = 0; i < 2; i++) {
   f(1);
}
f(2);