JavaScript Language feature Idea

/#!/JoePea joe at trusktr.io
Mon Apr 18 16:59:15 UTC 2016


Backwards compatibility has been broken before. I don't think this one
is too bad of a breakage.

On Sun, Apr 17, 2016 at 9:48 PM, Biju <bijumaillist at gmail.com> wrote:
> On 17 April 2016 at 17:29, Frankie Bagnardi <f.bagnardi at gmail.com> wrote:
>> That would break backward compatibility;
>>
>> ```js
>> var a = ['a'];
>> a['-1'] = 'test';
>> Object.keys(a) // ['0', '-1']
>> ```
>
> Do we have statistics how many sties depend on that?
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss


More information about the es-discuss mailing list