mirror of https://github.com/tc39/test262.git
parent
43b0c7650d
commit
7040938bd0
|
@ -41,7 +41,7 @@ var newt = new Proxy(function() {}, {
|
|||
}
|
||||
});
|
||||
|
||||
var obj = Reflect.construct(AggregateError, [], newt);
|
||||
var obj = Reflect.construct(AggregateError, [[]], newt);
|
||||
|
||||
assert.sameValue(Object.getPrototypeOf(obj), custom);
|
||||
assert.sameValue(obj.x, 42);
|
||||
|
|
|
@ -55,7 +55,7 @@ for (const value of values) {
|
|||
}
|
||||
});
|
||||
|
||||
const obj = Reflect.construct(AggregateError, [], newt);
|
||||
const obj = Reflect.construct(AggregateError, [[]], newt);
|
||||
|
||||
assert.sameValue(Object.getPrototypeOf(obj), custom);
|
||||
assert.sameValue(obj.x, 42);
|
||||
|
|
Loading…
Reference in New Issue