Array.prototype.values() compatibility hazard
claude.pache at gmail.com
Wed Jun 19 00:47:40 PDT 2013
Le 18 juin 2013 à 03:30, Brandon Benvie <bbenvie at mozilla.com> a écrit :
> On 6/17/2013 4:33 PM, Jason Orendorff wrote:
>> Firefox added Array.prototype.values() and immediately ran into compatibility issues.
>> Both bug reports have to do with Sencha Ext JS. I haven't looked closely yet. It seems `with(values)` appears in Ext.
> Looks like the `with` is responsible. When the "values" there is an array, any reference inside the `with` to "values" then becomes "values.values".
Note that they should look after `with(anyArray)` rather than `with(values)`, in order to resolve that issue.
More information about the es-discuss