Bug Tracker

Opened 10 years ago

Closed 9 years ago

#6521 closed bug (invalid)

$.inArray(1, undefined); throws an error in IE8

Reported by: pulpulpullie Owned by:
Priority: Milestone: 1.4.3
Component: support Version: 1.4.2
Keywords: inarray Cc:
Blocked by: Blocking:

Description (last modified by dmethvin)

$.inArray(1, undefined);

throws an error in IE8 (haven't tested older versions).

Change History (1)

comment:1 Changed 9 years ago by dmethvin

Description: modified (diff)
Resolution: invalid
Status: newclosed

That's because undefined is not an array.

http://api.jquery.com/jQuery.inArray/

Note: See TracTickets for help on using tickets.