default `deleteCount` value of `Array.prototype.splice`

Russell Leggett russell.leggett at gmail.com
Wed Jul 4 05:18:21 PDT 2012


On Tue, Jul 3, 2012 at 6:28 PM, Brendan Eich <brendan at mozilla.org> wrote:

> Allen Wirfs-Brock wrote:
>
>> On Jul 3, 2012, at 9:07 AM, Brendan Eich wrote:
>>
>>  Russell Leggett wrote:
>>>
>>>> ...
>>>>
>>>>
>>>> The spec states: "When the splice method is called with two or more
>>>> arguments..." - therefore, a.splice(2); leads to unspecified behavior.
>>>>
>>>
>> Technically that's not correct.
>>
>
> Note you are replying to Russell here and again later, not to me ;-).


Haha, yes, sorry, I bow to your superior spec-reading powers. I should not
have written with such a confident tone :)

- Russ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120704/69e52610/attachment-0001.html>


More information about the es-discuss mailing list