Array lengthening methods applied to maximally long arrays

Brendan Eich brendan at
Wed May 13 11:48:49 PDT 2009

On May 13, 2009, at 11:44 AM, Allen Wirfs-Brock wrote:

>> From: Brendan Eich
>> It's totally an edge case, but if everyone agrees, it will probably
>> get spec'ed at some point. For ES5, probably not -- up to Allen at
>> this point.
> It's already spec'ed to throw in both ES3 and ES5.  It's in Array  
> instance's [[DefineOwnProperty]] in ES5 and [[Put]] for ES3.

Sorry, I meant the issue James raised: the property is bound and then  
RangeError is thrown. Seems like error-checking should happen before  
any effects are committed.


More information about the es-discuss mailing list