Widely Available
Promises
id: promise-withresolvers
Promise.withResolvers()
The
Promise.withResolvers() static method is an alternative to the Promise() constructor that returns both the promise and resolution functions. You can use this to access resolve and reject outside the scope of the executor function.
Baseline Status:
Achieved Widely Available on Sep 5, 2026 (Cross-browser Newly Available since Mar 5, 2024).
Desktop Browser Engine Support
Google Chrome
119
Supported
Mozilla Firefox
121
Supported
Apple Safari
17.4
Supported
Microsoft Edge
119
Supported
Mobile Browser Engine Support
Chrome Android
119
Firefox Android
121
Safari iOS
17.4
Specifications and References
MDN Browser Compat Data Keys: