summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/pic/getelem-large-index.js
blob: c7f813ea2a7f7190b43e1a7ebe93590056f213c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/*
 * Any copyright is dedicated to the Public Domain.
 * http://creativecommons.org/licenses/publicdomain/
 */
function testProperty(i)
{
  actual = obj[String(i)];
}

var obj = {};
var index = [null, 1073741824, 1073741825];
for (var j in index)
  testProperty(index[j]);