mirror of
https://github.com/tc39/test262.git
synced 2025-07-10 07:34:37 +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]
|
||||
---*/
|
||||
|
||||
let promise = new Promise(() => {});
|
||||
let promise = Promise.resolve();
|
||||
let boundThen = promise.then.bind(promise);
|
||||
|
||||
promise.then = function(resolver, rejectElement) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user