Side navigation
#6521 closed bug (invalid)
Opened May 04, 2010 11:28AM UTC
Closed August 09, 2010 02:20AM UTC
$.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
$.inArray(1, undefined);
throws an error in IE8 (haven't tested older versions).
Attachments (0)
Change History (1)
Changed August 09, 2010 02:20AM UTC by comment:1
description: | \ $.inArray(1, undefined); \ \ throws an error in IE8 (haven't tested older versions). → $.inArray(1, undefined); \ \ throws an error in IE8 (haven't tested older versions). |
---|---|
resolution: | → invalid |
status: | new → closed |
That's because undefined is not an array.
http://api.jquery.com/jQuery.inArray/