mirror of https://github.com/svaarala/duktape.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
610 B
15 lines
610 B
define: DUK_USE_NONSTD_ARRAY_CONCAT_TRAILER
|
|
feature_enables: DUK_OPT_NONSTD_ARRAY_CONCAT_TRAILER
|
|
introduced: 1.0.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.
|
|
|