Promise.any: remove unnecessary static resolve def

This commit is contained in:
Rick Waldron 2020-03-25 12:25:56 -04:00
parent 499b748dca
commit d53f45db3d
1 changed files with 0 additions and 3 deletions

View File

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