Web features explorer

Promise.try()

Newly Available (since 2025-01-07)
Expected to be Widely Available on 2027-07-07

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.

Browser support

  • Chrome 128 Released on 2024-08-20
  • Chrome Android 128 Released on 2024-08-20
  • Edge 128 Released on 2024-08-22
  • Firefox 134 Released on 2025-01-07
  • Firefox for Android 134 Released on 2025-01-07
  • Safari 18.2 Released on 2024-12-11
  • Safari on iOS 18.2 Released on 2024-12-11