summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug582161.js
blob: 09f9a89194e5b19e6344a10c10a12c2fd40df5fd (plain)
1
2
3
// |jit-test| error: RangeError;
var vs = [1, 1, 1, 1, 3.5, 1];
for (var i = 0, sz = vs.length; i < sz; i++) new Array(vs[i]);