Skip to main content

Bug Tracker

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 dmethvin 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: newclosed

That's because undefined is not an array.

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