| args.js |
---
description: Promise.try forwards arguments
esid: sec-promise.try
features: [promise-try]
flags: [async]
includes: [asyncHelpers.js, compareArray.js]
--- |
562 |
- |
| avoids-wrap-for-subclass.js |
---
description: When the callback passed to PromiseSubclass.try returns a PromiseSubclass, it is not wrapped
esid: sec-promise.try
features: [promise-try, class]
--- |
602 |
- |
| avoids-wrap.js |
---
description: When the callback passed to Promise.try returns a Promise, it is not wrapped
esid: sec-promise.try
features: [promise-try]
--- |
444 |
- |
| browser.js |
|
0 |
- |
| ctx-ctor-for-error.js |
---
description: Promise.try produces instances of the receiver for errors
esid: sec-promise.try
features: [promise-try, class]
flags: [async]
includes: [asyncHelpers.js]
--- |
766 |
- |
| ctx-ctor-throws.js |
---
description: >
`Promise.try` invoked on a constructor value that throws an error
features: [promise-try]
--- |
438 |
- |
| ctx-ctor.js |
---
description: Promise.try produces instances of the receiver
esid: sec-promise.try
features: [promise-try, class]
--- |
683 |
- |
| ctx-non-ctor.js |
---
description: Promise.try errors when the receiver is not a constructor
esid: sec-promise.try
features: [promise-try]
--- |
352 |
- |
| ctx-non-object.js |
---
description: Promise.try errors when the receiver is not an object
esid: sec-promise.try
features: [promise-try]
--- |
709 |
- |
| length.js |
---
description: Promise.try `length` property
includes: [propertyHelper.js]
features: [promise-try]
--- |
379 |
- |
| name.js |
---
description: Promise.try `name` property
includes: [propertyHelper.js]
features: [promise-try]
--- |
379 |
- |
| not-a-constructor.js |
---
description: >
Promise.try does not implement [[Construct]], is not new-able
includes: [isConstructor.js]
features: [Reflect.construct, promise-try]
--- |
498 |
- |
| promise.js |
---
description: Promise.try return value is a Promise
features: [promise-try]
--- |
388 |
- |
| prop-desc.js |
---
author: Jordan Harband
description: Promise.try property descriptor
features: [promise-try]
includes: [propertyHelper.js]
--- |
363 |
- |
| return-value.js |
---
description: Promise.try returns a Promise resolved to the callback's return value
esid: sec-promise.try
features: [promise-try]
flags: [async]
includes: [asyncHelpers.js]
--- |
520 |
- |
| shell.js |
---
description: |
A collection of assertion and wrapper functions for testing asynchronous built-ins.
defines: [asyncTest, assert.throwsAsync]
--- |
3621 |
- |
| throws.js |
---
description: Promise.try returns a Promise that rejects when the function throws
esid: sec-promise.try
features: [promise-try]
flags: [async]
includes: [asyncHelpers.js]
--- |
563 |
- |