mirror of https://github.com/tc39/test262.git
Promise.any: remove unnecessary static resolve def
This commit is contained in:
parent
499b748dca
commit
d53f45db3d
|
@ -24,9 +24,6 @@ class Custom extends Promise {
|
|||
static get [Symbol.species]() {
|
||||
throw new Test262Error('Erroneous Get(C, @@species) via SpeciesConstructor() occurred.');
|
||||
}
|
||||
static resolve() {
|
||||
throw new Test262Error('Custom.resolve was reached');
|
||||
}
|
||||
}
|
||||
|
||||
Promise.any.call(Custom, [1]).then(() => $DONE(), $DONE);
|
||||
|
|
Loading…
Reference in New Issue