Summary: `Promise.try(f)` is a shorthand for using `new Promise(resolve =>
resolve(f()))`. It's currently at Stage 3 of the TC39 proposal process.
Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1905241
Specification: https://tc39.es/proposal-promise-try/
Standards Body: TC39
Platform coverage: All
Preference: javascript.options.experimental.promise_try
Other browsers: Shipped in Chrome 128 (
https://developer.chrome.com/release-notes/128#promisetry), in WebKit
behind a flag (https://github.com/WebKit/WebKit/pull/24802).
test262: Tests landed in https://github.com/tc39/test262/pull/4069.

Please let me know if there are any questions or concerns.

-- 
You received this message because you are subscribed to the Google Groups 
"[email protected]" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/CAC_Rxa5MDz4CL6CdTjiSxKuZHqBe_fXB0RBKzB8ae%3DDeiX%3DYNA%40mail.gmail.com.

Reply via email to