Source code
Revision control
Copy as Markdown
Other Tools
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);
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);