Based on http://ie.microsoft.com/testdrive/HTML5/ECMAScript5Array/Default.html, I thought IE9 supports indexOf in array but the following breaks. Any idea why?
It might help if you declare the array explicitly:
var a = new Array(1,2,3); a.indexOf(2);