« Bugzilla Issues Index
#130 — 15.4.4.4 Array concat does not set length correctly if final argument is sparse array
- bug_id:
130
- creation_ts:
2011-07-14 08:20:00 -0700
- short_desc:
15.4.4.4 Array concat does not set length correctly if final argument is sparse array
- delta_ts:
2011-07-20 14:09:51 -0700
- product:
Draft for 6th Edition
- component:
technical issue
- version:
Initial draft July 12, 2011
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
normal
- dependson:
129
- everconfirmed:
true
- reporter:
Allen Wirfs-Brock
- assigned_to:
Allen Wirfs-Brock
- commentid:
297
- comment_count:
0
- who:
Allen Wirfs-Brock
- bug_when:
2011-07-14 08:20:09 -0700
+++ This bug was initially created as a clone of Bug #129 +++
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:
335
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2011-07-20 14:09:51 -0700
corrected in editor's draft