summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/jaeger/inline/bug676491.js
blob: 82e6095a0cb0979d0e0e0d427c19ce421eaa6473 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Array.prototype.__defineSetter__(32, function() { print("Hello from arbitrary JS");});
var UBound = 0;
var expect= '';
var expectedvalues = [];
for (var j=0; j < 10; j++) {
  addThis();
  addThis();
  addThis();
  addThis();
}
function addThis() {
  expectedvalues[UBound] = expect;
  UBound++;
}