« Bugzilla Issues Index
#129 — 15.4.4.4 Array concat does not set length correctly if final argument is sparse array
- bug_id:
129
- creation_ts:
2011-07-14 08:19:00 -0700
- short_desc:
15.4.4.4 Array concat does not set length correctly if final argument is sparse array
- delta_ts:
2015-10-02 14:33:01 -0700
- product:
ECMA-262, Editions 5 and 5.1
- component:
technical content
- version:
Edition 5.1
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
normal
- blocked:
130
- everconfirmed:
true
- reporter:
Allen Wirfs-Brock
- assigned_to:
Allen Wirfs-Brock
- cc:
utatane.tea
- commentid:
296
- comment_count:
0
- who:
Allen Wirfs-Brock
- bug_when:
2011-07-14 08:19:21 -0700
See https://mail.mozilla.org/pipermail/es5-discuss/2010-December/003852.html
If the last argument is an Array with trailing sparse members the length of the result does not reflect the length of the trailing sparseness. This is an unintentional deviation from ES3.
A [[Put]] to set the correct length needs to be added at the end of the algorithm.
- commentid:
298
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2011-07-14 08:20:46 -0700
This need to be added to the ES5.1 errata
- commentid:
580
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2012-01-12 12:20:48 -0800
set IN_PROGRESS to indicated this should go into ES5.1 Errata.
- commentid:
14728
- comment_count:
3
- who:
Brian Terlson
- bug_when:
2015-10-02 14:33:01 -0700
Bulk resolving ES5.1 errata issues as a sampling suggests these are all fixed. If this is in error, please open a new issue on GitHub.