Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Fixed Array.prototype.concat() when "this" is a slow array.
Previously, when the current appended element is fast array the "this" array was expected to always be a fast array also. This may not be the case when the previous appended element was not fast thus converting the "this" array to a slow form. Previous fix introduced in 2c1382bab643 (0.7.2) was not complete, the correct fix is to never assume "this" is fast, whereas njs_array_add() may only be called with fast arrays. This closes #471 issue in Github.
- Loading branch information
Showing
2 changed files
with
11 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters