Array lengthening methods applied to maximally long arrays

Jason Orendorff jason.orendorff at
Wed May 13 08:33:47 PDT 2009

On Wed, May 13, 2009 at 10:19 AM, Allen Wirfs-Brock
<Allen.Wirfs-Brock at> wrote:
> Firefox 3.0.8 - does not conform
> No range error on a.push(1) returns 0, creates a non-array index property named "4294967295" and sets length to 0
> It's possible that developmental builds of the above produce different results.  [...]

In dev builds Firefox now conforms with ES3 on this point.

It isn't worth changing this.  The general mess can't be cleaned up,
and this particular case seems unlikely to hurt anyone in practice.


More information about the es-discuss mailing list