BASELINE NowYouCanUse.com
Newly Available Promises
id: promise-try

Promise.try()

The Promise.try() static method returns a promise that takes a callback of any kind (returns or throws, synchronously or asynchronously) and wraps its result in a Promise.
Baseline Status: Achieved Newly Available on Jan 7, 2025 across core engines.
Desktop Browser Engine Support
Google Chrome
128
Supported
Mozilla Firefox
134
Supported
Apple Safari
18.2
Supported
Microsoft Edge
128
Supported
Mobile Browser Engine Support
Chrome Android
128
Firefox Android
134
Safari iOS
18.2
Specifications and References