Opened 13 years ago
Closed 13 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 )
$.inArray(1, undefined);
throws an error in IE8 (haven't tested older versions).
Change History (1)
comment:1 Changed 13 years ago by
Description: | modified (diff) |
---|---|
Resolution: | → invalid |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
That's because undefined is not an array.
http://api.jquery.com/jQuery.inArray/