mirror of
https://github.com/tc39/test262.git
synced 2025-07-12 16:44:49 +02:00
Promise.any: fix "invoke-then.js" test
This commit is contained in:
parent
9ccd3a7b9e
commit
299cd74ef2
@ -19,7 +19,7 @@ flags: [async]
|
|||||||
features: [Promise.any, arrow-function]
|
features: [Promise.any, arrow-function]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
let promise = new Promise(() => {});
|
let promise = Promise.resolve();
|
||||||
let boundThen = promise.then.bind(promise);
|
let boundThen = promise.then.bind(promise);
|
||||||
|
|
||||||
promise.then = function(resolver, rejectElement) {
|
promise.then = function(resolver, rejectElement) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user