Opened 10 years ago
Closed 10 years ago
#12617 closed bug (duplicate)
$.each does not test for null / undefined objects
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.7.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
$.each(null, function() { console.log("wtf!") });
TypeError: Cannot read property 'length' of null
Note: See
TracTickets for help on using
tickets.
Duplicate of #11278.