Closed CanadaHonk closed 1 day ago
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/try
Syntax
Promise.try(func) A function that is called synchronously with no arguments.
Promise.try(func)
Promise.try(func, ...args)
Spec: https://tc39.es/proposal-promise-try/#sec-promise.try
No response
Wow, it was added 8 months ago—how did I miss it?!
Thanks for filing!
MDN URL
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/try
What specific section or headline is this issue about?
Syntax
What information was incorrect, unhelpful, or incomplete?
What did you expect to see?
Promise.try(func, ...args)
Do you have any supporting links, references, or citations?
Spec: https://tc39.es/proposal-promise-try/#sec-promise.try
Do you have anything more you want to share?
No response
MDN metadata
Page report details
* Folder: `en-us/web/javascript/reference/global_objects/promise/try` * MDN URL: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/try * GitHub URL: https://github.com/mdn/content/blob/main/files/en-us/web/javascript/reference/global_objects/promise/try/index.md * Last commit: https://github.com/mdn/content/commit/b67fd42cfb01dd4d9504c4182b462851588a0bad * Document last modified: 2024-09-07T02:12:32.000Z