I extended Array to support indexOf in IE using this JavaScript function from Mozilla MDC.
Unfortunately, when using for...in syntax to iterate over the Array, the loop stops on indexOf instead of just numerical indexes.
Can I keep indexOf out of for...in syntax in Internet Explorer (it does in Chrome)? What makes the Array.length property and other Array functions so special that the for...in loop skips over them?
I know that switching to standard for syntax is a solution, but I would prefer a for...in fix.