blob: 025be31496e09380918fc09814ed7ca587c00a70 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
function f() {
for (var i = 0; i < 1200; i++) {
var o1 = Reflect.construct(Array, [], Object);
var o2 = Reflect.construct(String, [""], Object);
var o3 = Reflect.construct(Int32Array, [0], Object);
assertEq(o1.__proto__, Object.prototype);
assertEq(o2.__proto__, Object.prototype);
assertEq(o3.__proto__, Object.prototype);
}
}
f();
|