archives

« Bugzilla Issues Index

#130 — 15.4.4.4 Array concat does not set length correctly if final argument is sparse array


+++ 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.


corrected in editor's draft