Skip to main content

Bug Tracker

Side navigation

#12730 closed bug (worksforme)

Opened October 15, 2012 10:47AM UTC

Closed October 16, 2012 03:19PM UTC

JQuery adds indexOf to arrays in IE8

Reported by: Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.8.2
Keywords: Cc:
Blocked by: Blocking:

i have existing functionality with following code:

for (var ind in container)


var val = container[ind];



Now when I updated jquery, this code fails, because first index, found in object will be 'indexOf'.

Reproduced only in IE8;

Attachments (0)
Change History (3)

Changed October 15, 2012 12:42PM UTC by timmywil comment:1

owner: →
status: newpending

Thanks for taking the time to contribute to the jQuery project! Please provide a complete reduced test case on jsFiddle to help us assess your ticket.

Additionally, be sure to test against the jQuery Edge version to ensure the issue still exists. To get you started, use this boilerplate: Open the link and click to "Fork" (in the top menu) to get started.

Changed October 16, 2012 02:47PM UTC by comment:2

status: pendingnew

Here is sample

But this issue is not reproduced on JQuery(edge).

Looks like I should update JQuery, it is already fixed.

Changed October 16, 2012 03:19PM UTC by rwaldron comment:3

resolution: → worksforme
status: newclosed