Baseline Widely Promises
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
Widely Available
Since 2024-03-05
First Core Launch
Chrome 119
2023-10-31
Core-3 Stability
126d
Last: Safari (2024-03-05)
BCD Keys Mapped
1
Group: Promises
Browser Support Timeline
Browser Support Releases
| Browser | Type | Version | Release Date |
|---|---|---|---|
| Chrome | desktop | 119 | 2023-10-31 |
| Chrome Android | mobile | 119 | 2023-10-31 |
| Edge | desktop | 119 | 2023-11-02 |
| Firefox | desktop | 121 | 2023-12-19 |
| Firefox for Android | mobile | 121 | 2023-12-19 |
| Safari | desktop | 17.4 | 2024-03-05 |
| Safari on iOS | mobile | 17.4 | 2024-03-05 |
Constituent MDN BCD Keys (Sample)
| BCD Key | Area | Core-3 TTA |
|---|---|---|
| javascript.builtins.Promise.withResolvers | JS | 126d |