summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug1473256.js
blob: b0d748cd6d0601bb465994f910865247b2b82e8a (plain)
1
2
3
4
5
var a1 = Reflect.construct(Array, [], Object);
var g = newGlobal({sameZoneAs: this});
var a2 = new g.Array(1, 2, 3);
assertEq(a1.length, 0);
assertEq(a2.length, 3);