« Bugzilla Issues Index

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

+++ This bug was initially created as a clone of Bug #129 +++


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