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);