-
Notifications
You must be signed in to change notification settings - Fork 516
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove DUK_USE_NONSTD_ARRAY_CONCAT_TRAILER option
- Loading branch information
Showing
3 changed files
with
4 additions
and
9 deletions.
There are no files selected for viewing
11 changes: 4 additions & 7 deletions
11
config/config-options/DUK_USE_NONSTD_ARRAY_CONCAT_TRAILER.yaml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,11 @@ | ||
define: DUK_USE_NONSTD_ARRAY_CONCAT_TRAILER | ||
introduced: 1.0.0 | ||
removed: 2.3.0 | ||
default: true | ||
tags: | ||
- ecmascript | ||
- compliance | ||
description: > | ||
For better compatibility with existing code, enable non-standard | ||
Array.prototype.concat() behavior for trailing non-existent elements of | ||
the concat result, see | ||
https://github.com/svaarala/duktape/blob/master/tests/ecmascript/test-bi-array-proto-concat-nonstd-trailing.js. | ||
If this option is disabled, concat() will behave in a strictly conforming | ||
fashion, ignoring non-existent trailing elements in the result length. | ||
In ES5.1 trailing gaps of an argument array don't count towards the result | ||
length. This is in essence a specification "bug" which was fixed in ES2015. | ||
This option was removed in 2.3.0, and the remaining behavior matches ES2015. |
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