Side navigation
#14051 closed bug (notabug)
Opened June 21, 2013 06:48AM UTC
Closed June 23, 2013 04:45PM UTC
Grep possible error
Reported by: | guto.pro@gmail.com | 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){
});
Attachments (0)
Change History (1)
Changed June 23, 2013 04:45PM UTC by comment:1
resolution: | → notabug |
---|---|
status: | new → closed |
That is because
null
is not a valid input.