Opened 9 years ago
Closed 9 years ago
#14051 closed bug (notabug)
Grep possible error
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.6.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Hi,
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){
});
Note: See
TracTickets for help on using
tickets.
That is because
null
is not a valid input.