Array.prototype.values() compatibility hazard

Brandon Benvie bbenvie at mozilla.com
Mon Jun 17 18:30:22 PDT 2013


On 6/17/2013 4:33 PM, Jason Orendorff wrote:
> Firefox added Array.prototype.values() and immediately ran into 
> compatibility issues.
>
> https://bugzilla.mozilla.org/show_bug.cgi?id=883914
> https://bugzilla.mozilla.org/show_bug.cgi?id=881782
>
> Both bug reports have to do with Sencha Ext JS. I haven't looked 
> closely yet. It seems `with(values)` appears in Ext.
>
> -j

Looks like the `with` is responsible. When the "values" there is an 
array, any reference inside the `with` to "values" then becomes 
"values.values".


More information about the es-discuss mailing list