=== again (sorry)

Maciej Stachowiak mjs at apple.com
Mon Nov 3 12:04:43 PST 2008


On Nov 3, 2008, at 11:34 AM, David-Sarah Hopwood wrote:

> Erik Arvidsson wrote:
>> I see a small risk with changing this. Array.prototype.indexOf is  
>> widely
>> emulated in IE and is also used a lot in browser that support it.
>
> If it is emulated, then the emulation will replace the ES3.1 version,
> so there can be no compatibility problem in that case.
>
> Overall this change will probably fix more bugs in existing code than
> it introduces.

Have you done any testing that provides evidence for this claim? I'm  
personally unsure one way or the other. Past experience shows that we  
can't determine if a "bug fix" will break existing Web sites just from  
armchair reasoning.

Regards,
Maciej



More information about the Es-discuss mailing list