views:

47

answers:

1

I am getting an error only on IE saying object does not support method but the line it is saying is somewhere around 946275090 (I know IE is off on line numbers but not usually this off). I could of swore this type of error had a specific meaning but I for the life of me can't remember. Does it mean something specific when IE return the error on a line number ridiculously large like this?

+1  A: 

Without looking at the rest of the code it's hard (impossible?) to tell for sure what's wrong.

That said, I'd really recommend running your code through JSLint, to help you identify any potential problems. I believe that IE has some issues (i.e. not standards compliant) when it comes to delete operator. So, if you feel that your code base is too large to test with JSLint, I'd suggest at least isolating and testing the sections using delete.

If you're interested in some extra reading, "Finding Improper JavaScript Globals" is a great article looking at declared, implied and window globals, which covers how they handle being deleted (among other things).

S.Jones