commit | f258ec154e5c86b58cc8fb1171bee15417cfb9e4 | [log] [tgz] |
---|---|---|
author | Dmitry Volyntsev <xeioex@nginx.com> | Thu Jun 16 17:33:49 2022 -0700 |
committer | Dmitry Volyntsev <xeioex@nginx.com> | Thu Jun 16 17:33:49 2022 -0700 |
tree | 3f5b0a2b27c23e5e122ce3d55d38f5f30d7bd2af | |
parent | 6e07e5e67c53a8edb27a9ac5281778b8206ddeb2 [diff] |
Fixed working with array-like object in Promise.all() and friends. Prevously, the code while iterating over an array-like object did not take into account objects with absent elements. As a result, the resulting array object was returning with elements containing garbage values. The fix is to allocate and fill the resulting array object on the fly. This closes #538 issue on Github.