Skip to content

Commit 37cd046

Browse files
committed
Website updates for removed Array config options
1 parent c4a6d5b commit 37cd046

1 file changed

Lines changed: 0 additions & 18 deletions

File tree

website/guide/custombehavior.html

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -133,24 +133,6 @@ <h2>Array.prototype.splice() when deleteCount not given</h2>
133133
Duktape uses this behavior by default. The strict standards compliant behavior can
134134
be enabled by disabling the config option <code>DUK_USE_NONSTD_ARRAY_SPLICE_DELCOUNT</code>.</p>
135135

136-
<h2>Array.prototype.concat() trailing non-existent elements</h2>
137-
138-
<p>When the result of an array <code>concat()</code> would have trailing non-existent
139-
elements, the standard behavior is to ignore them so that they are not reflected in
140-
the result <code>length</code>. Real world behavior is to include them in the result
141-
value <code>length</code>. See
142-
<a href="https://github.com/svaarala/duktape/blob/master/tests/ecmascript/test-bi-array-proto-concat-nonstd-trailing.js">test-bi-array-proto-concat-nonstd-trailing.js</a>.</p>
143-
144-
<p>The real world behavior seems consistent in other engines (V8, Rhino, Spidermonkey
145-
at least), so Duktape uses the real world behavior by default. The strict standards compliant
146-
behavior can be enabled by disabling the config option <code>DUK_USE_NONSTD_ARRAY_CONCAT_TRAILER</code>.</p>
147-
148-
<h2>Array.prototype.map() trailing non-existent elements</h2>
149-
150-
<p>Similar issue as with <code>Array.prototype.concat()</code>, see
151-
<a href="https://github.com/svaarala/duktape/blob/master/tests/ecmascript/test-bi-array-proto-map-nonstd-trailing.js">test-bi-array-proto-map-nonstd-trailing.js</a>. The strict standards compliant behavior can be
152-
enabled by disabling the config option <code>DUK_USE_NONSTD_ARRAY_MAP_TRAILER</code>.</p>
153-
154136
<h2>Setter/getter key argument</h2>
155137

156138
<p>Ecmascript standard behavior is that setters and getters are not given

0 commit comments

Comments
 (0)