Skip to content
This repository has been archived by the owner on Aug 21, 2022. It is now read-only.

Promise.all: do not modify initial array #8

Closed
Octane opened this issue Jun 18, 2014 · 0 comments
Closed

Promise.all: do not modify initial array #8

Octane opened this issue Jun 18, 2014 · 0 comments
Labels

Comments

@Octane
Copy link
Owner

Octane commented Jun 18, 2014

The test case:

var array = [1, , 2];
Promise.all(array).then(function (values) {
    1 in array  // false
    1 in values // true
});
@Octane Octane added the bug label Jun 18, 2014
@Octane Octane closed this as completed in 9cf9d25 Jun 18, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant