Bug Tracker

Opened 10 years ago

Closed 10 years ago

#14051 closed bug (notabug)

Grep possible error

Reported by: [email protected] Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.6.3
Keywords: Cc:
Blocked by: Blocking:



When i use the grep function with an null array the jquery returns "Cannot read property 'length' of null" Example: var obj = null; jQuery.grep( obj, function(i,o){


Change History (1)

comment:1 Changed 10 years ago by dmethvin

Resolution: notabug
Status: newclosed

That is because null is not a valid input.

Note: See TracTickets for help on using tickets.