Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Promise.all spec compliance issue #1711

Open
iamart opened this issue May 30, 2024 · 0 comments
Open

Promise.all spec compliance issue #1711

iamart opened this issue May 30, 2024 · 0 comments

Comments

@iamart
Copy link

iamart commented May 30, 2024

Spec expects a single iterable object passed to Promise.all. Bluebird's implementation defies and allows passing a promise with an iterable value.

Example:

await Promise.all(Promise.resolve([1,2]));

This returns an array instead of throwing an error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant