mirror of
https://github.com/tc39/test262.git
synced 2025-06-03 05:30:48 +02:00
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]() {
|
static get [Symbol.species]() {
|
||||||
throw new Test262Error('Erroneous Get(C, @@species) via SpeciesConstructor() occurred.');
|
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);
|
Promise.any.call(Custom, [1]).then(() => $DONE(), $DONE);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user